Spaces:
Running
Running
app15
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ def chat_interface(inputs, chat_history):
|
|
111 |
# ConversationalRetrievalChain
|
112 |
result = qa_chain.run({"question": question, "chat_history": chat_history})
|
113 |
print("Debug: Result from qa_chain.run:", result) # Add this line for debugging
|
114 |
-
return result
|
115 |
|
116 |
chatbot_gradio_app = gr.Interface(
|
117 |
fn=chat_interface,
|
|
|
111 |
# ConversationalRetrievalChain
|
112 |
result = qa_chain.run({"question": question, "chat_history": chat_history})
|
113 |
print("Debug: Result from qa_chain.run:", result) # Add this line for debugging
|
114 |
+
return result
|
115 |
|
116 |
chatbot_gradio_app = gr.Interface(
|
117 |
fn=chat_interface,
|