Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from query_data import get_chain
|
|
5 |
|
6 |
|
7 |
# Execute the chat functionality.
|
8 |
-
output = get_chain({"message":
|
9 |
|
10 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
11 |
|
|
|
5 |
|
6 |
|
7 |
# Execute the chat functionality.
|
8 |
+
output = get_chain({"message": message, "chat_history": history})["response"]
|
9 |
|
10 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
11 |
|