vortex123 commited on
Commit
5958b25
·
verified ·
1 Parent(s): 2f33702

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ with gr.Blocks() as demo:
114
  def clear_thinking():
115
  return ""
116
 
117
- chatbot.clear(inputs=[], outputs=[thinking_output])
118
 
119
  if __name__ == "__main__":
120
  demo.launch()
 
114
  def clear_thinking():
115
  return ""
116
 
117
+ chatbot.clear(fn=clear_thinking, outputs=[thinking_output])
118
 
119
  if __name__ == "__main__":
120
  demo.launch()