Spaces:
Sleeping
Sleeping
update imports
Browse files
app.py
CHANGED
|
@@ -4,10 +4,9 @@ from typing import Optional, Tuple
|
|
| 4 |
import gradio as gr
|
| 5 |
import pandas as pd
|
| 6 |
from buster.completers import Completion
|
|
|
|
| 7 |
|
| 8 |
-
|
| 9 |
-
# from rtd_scraper.scrape_rtd import scrape_rtd
|
| 10 |
-
from embed_docs import embed_documents
|
| 11 |
import cfg
|
| 12 |
from cfg import setup_buster
|
| 13 |
|
|
@@ -46,9 +45,6 @@ else:
|
|
| 46 |
)
|
| 47 |
|
| 48 |
|
| 49 |
-
# Override to put it anywhere
|
| 50 |
-
save_directory = "outputs/"
|
| 51 |
-
|
| 52 |
# scrape and embed content from readthedocs website
|
| 53 |
crawl_and_embed_docs(
|
| 54 |
homepage_url=readthedocs_url,
|
|
|
|
| 4 |
import gradio as gr
|
| 5 |
import pandas as pd
|
| 6 |
from buster.completers import Completion
|
| 7 |
+
from buster.utils import extract_zip
|
| 8 |
|
| 9 |
+
from embed_docs import crawl_and_embed_docs
|
|
|
|
|
|
|
| 10 |
import cfg
|
| 11 |
from cfg import setup_buster
|
| 12 |
|
|
|
|
| 45 |
)
|
| 46 |
|
| 47 |
|
|
|
|
|
|
|
|
|
|
| 48 |
# scrape and embed content from readthedocs website
|
| 49 |
crawl_and_embed_docs(
|
| 50 |
homepage_url=readthedocs_url,
|