Spaces:
Configuration error
Configuration error
oremaz
commited on
Commit
·
d526546
1
Parent(s):
2f21c7e
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -357,7 +357,6 @@ def search_and_extract_content_from_url(query: str) -> List[Document]:
|
|
| 357 |
for doc in documents:
|
| 358 |
doc.metadata["source"] = url
|
| 359 |
doc.metadata["type"] = "web_text"
|
| 360 |
-
print(documents)
|
| 361 |
return documents
|
| 362 |
except Exception as e:
|
| 363 |
# Handle any exceptions that occur during content extraction
|
|
|
|
| 357 |
for doc in documents:
|
| 358 |
doc.metadata["source"] = url
|
| 359 |
doc.metadata["type"] = "web_text"
|
|
|
|
| 360 |
return documents
|
| 361 |
except Exception as e:
|
| 362 |
# Handle any exceptions that occur during content extraction
|