Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -717,15 +717,12 @@ if page == "Scrape or Upload Own Docs":
|
|
717 |
if submit_scrape_web:
|
718 |
with st.spinner('Scraping web using Duck Duck Go search...'):
|
719 |
all_links, df_links = duckduckgo_scrape(country_scrape_upload, search_term, n_search_results)
|
720 |
-
|
721 |
st.write(f"Results from Web Scrape")
|
722 |
try:
|
723 |
st.write(df_links)
|
724 |
except:
|
725 |
st.write("Waiting for web scraping results.")
|
726 |
-
# submit_scrape_vector_store = st.form_submit_button(label='Create Vector Store from Search Results')
|
727 |
-
|
728 |
-
# if submit_scrape_vector_store:
|
729 |
|
730 |
with st.spinner('Generating documents from web search results...'):
|
731 |
all_documents = process_links_load_documents(all_links)
|
|
|
717 |
if submit_scrape_web:
|
718 |
with st.spinner('Scraping web using Duck Duck Go search...'):
|
719 |
all_links, df_links = duckduckgo_scrape(country_scrape_upload, search_term, n_search_results)
|
720 |
+
|
721 |
st.write(f"Results from Web Scrape")
|
722 |
try:
|
723 |
st.write(df_links)
|
724 |
except:
|
725 |
st.write("Waiting for web scraping results.")
|
|
|
|
|
|
|
726 |
|
727 |
with st.spinner('Generating documents from web search results...'):
|
728 |
all_documents = process_links_load_documents(all_links)
|