Update app.py
Browse files
app.py
CHANGED
@@ -107,9 +107,7 @@ with gr.Blocks() as demo:
|
|
107 |
"""
|
108 |
for i, doc in enumerate(result_docs):
|
109 |
bot_message += f"Source {i+1}: {doc.page_content}\n"
|
110 |
-
|
111 |
-
bot_message = f'There was an error: {output[0]["error"]}'
|
112 |
-
|
113 |
chat_history.append((message, bot_message))
|
114 |
return "", chat_history
|
115 |
|
|
|
107 |
"""
|
108 |
for i, doc in enumerate(result_docs):
|
109 |
bot_message += f"Source {i+1}: {doc.page_content}\n"
|
110 |
+
|
|
|
|
|
111 |
chat_history.append((message, bot_message))
|
112 |
return "", chat_history
|
113 |
|