Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,6 @@ prompt = st.text_area("Enter a prompt (after the crawling is done):")
|
|
31 |
prompt_btn = st.button("Enter")
|
32 |
|
33 |
if prompt and prompt_btn:
|
34 |
-
global collection
|
35 |
results = collection.query(query_texts=[prompt],n_results=5)
|
36 |
infos = results["documents"][0]
|
37 |
|
|
|
31 |
prompt_btn = st.button("Enter")
|
32 |
|
33 |
if prompt and prompt_btn:
|
|
|
34 |
results = collection.query(query_texts=[prompt],n_results=5)
|
35 |
infos = results["documents"][0]
|
36 |
|