seansullivan commited on
Commit
cbef338
·
verified ·
1 Parent(s): 7430d16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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)