Spaces:
Sleeping
Sleeping
Commit
·
b95ae99
1
Parent(s):
7f82885
Update app.py
Browse files
app.py
CHANGED
@@ -68,6 +68,7 @@ def get_documents(category: str, min_date: datetime, max_date: datetime):
|
|
68 |
"title": doc.title,
|
69 |
}
|
70 |
) for doc in search.results()]
|
|
|
71 |
|
72 |
def get_data(category: str, lookback_days: float, user_query: str):
|
73 |
print("User query:", user_query)
|
|
|
68 |
"title": doc.title,
|
69 |
}
|
70 |
) for doc in search.results()]
|
71 |
+
return docs
|
72 |
|
73 |
def get_data(category: str, lookback_days: float, user_query: str):
|
74 |
print("User query:", user_query)
|