Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def retrieve_and_summarize_stories(query, top_n=5, similarity_threshold=0.5):
|
|
| 43 |
|
| 44 |
results.append(formatted_summary)
|
| 45 |
|
| 46 |
-
return results
|
| 47 |
|
| 48 |
def interface(query, threshold):
|
| 49 |
return retrieve_and_summarize_stories(query, similarity_threshold=threshold)
|
|
|
|
| 43 |
|
| 44 |
results.append(formatted_summary)
|
| 45 |
|
| 46 |
+
return "\n\n".join(results)
|
| 47 |
|
| 48 |
def interface(query, threshold):
|
| 49 |
return retrieve_and_summarize_stories(query, similarity_threshold=threshold)
|