Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ iface = gr.Interface(
|
|
88 |
)
|
89 |
|
90 |
iface.add_component(gr.components.Radio(["Bot 1", "Bot 2"], label="Vote for the Best Response"), "vote")
|
91 |
-
iface.add_component(gr.
|
92 |
|
93 |
iface.update(value=update_ratings, component_name="vote", outputs=["vote_result"])
|
94 |
|
|
|
88 |
)
|
89 |
|
90 |
iface.add_component(gr.components.Radio(["Bot 1", "Bot 2"], label="Vote for the Best Response"), "vote")
|
91 |
+
iface.add_component(gr.components.Textbox(label="Voting Result"), "vote_result")
|
92 |
|
93 |
iface.update(value=update_ratings, component_name="vote", outputs=["vote_result"])
|
94 |
|