Spaces:
Sleeping
Sleeping
Fix typo
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def parse_md_link(md_link: str) -> Tuple[str, str]:
|
|
| 51 |
def search_specific_website(topic: str, url: str, num_results: int):
|
| 52 |
query = f"{url} {topic}"
|
| 53 |
|
| 54 |
-
query_result = web_search(query).split("\n\n")[1:
|
| 55 |
output = []
|
| 56 |
for result in query_result:
|
| 57 |
link, description = result.split("\n")
|
|
|
|
| 51 |
def search_specific_website(topic: str, url: str, num_results: int):
|
| 52 |
query = f"{url} {topic}"
|
| 53 |
|
| 54 |
+
query_result = web_search(query).split("\n\n")[1:num_results]
|
| 55 |
output = []
|
| 56 |
for result in query_result:
|
| 57 |
link, description = result.split("\n")
|