Yordann commited on
Commit
82b205d
·
verified ·
1 Parent(s): 8d2aacb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -93,8 +93,7 @@ def generate_response(user_input, top_p, temperature, chat_counter, chatbot, his
93
  history.append({"role": "assistant", "content": response_text})
94
 
95
  chat_counter += 1
96
- return history, history, chat_counter, "✅ Success", gr.update(value=\'\
97
- '), gr.update(interactive=True)
98
 
99
  def reset_textbox():
100
  return gr.update(value=\'\
 
93
  history.append({"role": "assistant", "content": response_text})
94
 
95
  chat_counter += 1
96
+ return history, history, chat_counter, "✅ Success", gr.update(value=''), gr.update(interactive=True)
 
97
 
98
  def reset_textbox():
99
  return gr.update(value=\'\