Spaces:
Runtime error
Runtime error
as-cle-bert
commited on
Commit
•
e260715
1
Parent(s):
c6ab1ca
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ prompt_textbox = gr.Textbox(label="Prompt", value="Is pineapple pizza sacrilegio
|
|
70 |
|
71 |
|
72 |
with gr.Blocks() as demo1:
|
73 |
-
demo0 = gr.Interface(fn=reply, inputs=[modelA_dropdown, modelB_dropdown, prompt_textbox], outputs=[gr.
|
74 |
btnA = gr.Button("Vote for Model A!")
|
75 |
btnB = gr.Button("Vote for Model B!")
|
76 |
btnA.click(modelA_button, inputs=None, outputs=None)
|
|
|
70 |
|
71 |
|
72 |
with gr.Blocks() as demo1:
|
73 |
+
demo0 = gr.Interface(fn=reply, inputs=[modelA_dropdown, modelB_dropdown, prompt_textbox], outputs=[gr.Textbox(label="Model A response"), gr.Textbox(label="Model B response")])
|
74 |
btnA = gr.Button("Vote for Model A!")
|
75 |
btnB = gr.Button("Vote for Model B!")
|
76 |
btnA.click(modelA_button, inputs=None, outputs=None)
|