Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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!")
|