Spaces:
Sleeping
Sleeping
Palbha Kulkarni (Nazwale)
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def get_response(message, chat_history, model_choice, api_key):
|
|
21 |
|
22 |
chat_history.append({"role":"assistant","content": reply})
|
23 |
print("Chat",chat_history)
|
24 |
-
return chat_history
|
25 |
# Gradio app
|
26 |
with gr.Blocks(css=custom_css) as app:
|
27 |
with gr.Row():
|
|
|
21 |
|
22 |
chat_history.append({"role":"assistant","content": reply})
|
23 |
print("Chat",chat_history)
|
24 |
+
return reply,chat_history
|
25 |
# Gradio app
|
26 |
with gr.Blocks(css=custom_css) as app:
|
27 |
with gr.Row():
|