vtrv.vls commited on
Commit
671a2d2
·
1 Parent(s): 2b28255
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,8 +60,8 @@ def tab_arena():
60
  # time.sleep(2)
61
  # return "", chat_history
62
 
63
- msg.submit(gradio.Dropdown(["TINYLLAMA", "QWEN2INS1B", "RUBASE"], multiselect=False, label="Left model"), [msg, chatbot_left], [msg, chatbot_left])
64
- msg.submit(gradio.Dropdown(["TINYLLAMA", "QWEN2INS1B", "RUBASE"], multiselect=False, label="Left model"), [msg, chatbot_right], [msg, chatbot_right])
65
 
66
  # with gradio.Column():
67
  # gradio.ChatInterface(
 
60
  # time.sleep(2)
61
  # return "", chat_history
62
 
63
+ msg.submit(MODEL_LIB[gradio.Dropdown(["TINYLLAMA", "QWEN2INS1B", "RUBASE"], multiselect=False, label="Left model")], [msg, chatbot_left], [msg, chatbot_left])
64
+ msg.submit(MODEL_LIB[gradio.Dropdown(["TINYLLAMA", "QWEN2INS1B", "RUBASE"], multiselect=False, label="Left model")], [msg, chatbot_right], [msg, chatbot_right])
65
 
66
  # with gradio.Column():
67
  # gradio.ChatInterface(