Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -130,6 +130,7 @@ def generate_response(prompt):
|
|
| 130 |
all_sources.extend(sources)
|
| 131 |
|
| 132 |
formatted_response = f"Sources:\n" + "\n".join(all_sources)
|
|
|
|
| 133 |
|
| 134 |
# question = "How can I do hybrid search with a pinecone database?"
|
| 135 |
# answer = generate_response(question)
|
|
|
|
| 130 |
all_sources.extend(sources)
|
| 131 |
|
| 132 |
formatted_response = f"Sources:\n" + "\n".join(all_sources)
|
| 133 |
+
yield formatted_response
|
| 134 |
|
| 135 |
# question = "How can I do hybrid search with a pinecone database?"
|
| 136 |
# answer = generate_response(question)
|