Palbha Kulkarni (Nazwale) commited on
Commit
20cddd3
·
unverified ·
1 Parent(s): 9311095

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -18,9 +18,8 @@ button:hover { background-color: #a01010; }
18
  def get_response(message, chat_history, model_choice, api_key):
19
  reply =generate_answer(message,model_choice,api_key)
20
 
21
- chat_history.append((message, reply))
22
  return reply, chat_history
23
-
24
  # Gradio app
25
  with gr.Blocks(css=custom_css) as app:
26
  with gr.Row():
 
18
  def get_response(message, chat_history, model_choice, api_key):
19
  reply =generate_answer(message,model_choice,api_key)
20
 
21
+ chat_history.append([message, reply])
22
  return reply, chat_history
 
23
  # Gradio app
24
  with gr.Blocks(css=custom_css) as app:
25
  with gr.Row():