rwitz commited on
Commit
8d69766
β€’
1 Parent(s): 817c00f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -297,7 +297,6 @@ with gr.Blocks() as demo:
297
  direct_submit_btn.click(direct_chat, inputs=[model_dropdown, direct_textbox, direct_chatbot], outputs=[direct_textbox, direct_chatbot])
298
  direct_reset_btn.click(reset_direct_chat, None, [direct_textbox, direct_chatbot, model_dropdown])
299
 
300
- direct_textbox.submit(direct_chat, inputs=[model_dropdown, direct_textbox, direct_chatbot], outputs=[direct_textbox, direct_chatbot])
301
 
302
  with gr.Tab("πŸ† Leaderboard"):
303
  gr.Markdown("## πŸ“Š Check out the top-performing models!")
 
297
  direct_submit_btn.click(direct_chat, inputs=[model_dropdown, direct_textbox, direct_chatbot], outputs=[direct_textbox, direct_chatbot])
298
  direct_reset_btn.click(reset_direct_chat, None, [direct_textbox, direct_chatbot, model_dropdown])
299
 
 
300
 
301
  with gr.Tab("πŸ† Leaderboard"):
302
  gr.Markdown("## πŸ“Š Check out the top-performing models!")