Spaces:
Runtime error
Runtime error
Haofei Yu
commited on
Commit
·
7d4925b
1
Parent(s):
16ebb8e
switch part (#60)
Browse files
app.py
CHANGED
@@ -208,8 +208,8 @@ def sotopia_info_accordion(accordion_visible=True):
|
|
208 |
|
209 |
|
210 |
with gr.Row():
|
211 |
-
user_agent_info_display = create_user_info(user_agent_dropdown.value)
|
212 |
bot_agent_info_display = create_bot_info(bot_agent_dropdown.value)
|
|
|
213 |
|
214 |
# Update user dropdown when scenario changes
|
215 |
environment_dropdown.change(fn=create_user_agent_dropdown, inputs=[environment_dropdown], outputs=[user_agent_dropdown])
|
|
|
208 |
|
209 |
|
210 |
with gr.Row():
|
|
|
211 |
bot_agent_info_display = create_bot_info(bot_agent_dropdown.value)
|
212 |
+
user_agent_info_display = create_user_info(user_agent_dropdown.value)
|
213 |
|
214 |
# Update user dropdown when scenario changes
|
215 |
environment_dropdown.change(fn=create_user_agent_dropdown, inputs=[environment_dropdown], outputs=[user_agent_dropdown])
|