Palbha Kulkarni (Nazwale) commited on
Commit
a994101
·
unverified ·
1 Parent(s): c50ec7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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():