Spaces:
Runtime error
Runtime error
tried the reponse prompt
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ with gr.Blocks() as demo:
|
|
86 |
|
87 |
|
88 |
#get response from QA Chain
|
89 |
-
response = qa({'question': user_message, "chat_history": chat_history})
|
90 |
#append user message and respone to chat history
|
91 |
chat_history.append((user_message, response["answer"]))
|
92 |
return gr.update(value=""), chat_history
|
|
|
86 |
|
87 |
|
88 |
#get response from QA Chain
|
89 |
+
#response = qa({'question': user_message, "chat_history": chat_history})
|
90 |
#append user message and respone to chat history
|
91 |
chat_history.append((user_message, response["answer"]))
|
92 |
return gr.update(value=""), chat_history
|