Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -524,12 +524,12 @@ with gr.Blocks(theme="default", css=CSS_STYLES) as demo:
|
|
524 |
gr.Markdown("### Model A")
|
525 |
score_a = gr.Textbox(label="Score", interactive=False)
|
526 |
critique_a = gr.TextArea(label="Critique", lines=8, interactive=False)
|
527 |
-
model_name_a = gr.Markdown("*Model:
|
528 |
with gr.Column():
|
529 |
gr.Markdown("### Model B")
|
530 |
score_b = gr.Textbox(label="Score", interactive=False)
|
531 |
critique_b = gr.TextArea(label="Critique", lines=8, interactive=False)
|
532 |
-
model_name_b = gr.Markdown("*Model:
|
533 |
|
534 |
# Initially hide vote buttons and regenerate button
|
535 |
with gr.Row(visible=False) as action_buttons_row:
|
@@ -766,8 +766,8 @@ with gr.Blocks(theme="default", css=CSS_STYLES) as demo:
|
|
766 |
model_a,
|
767 |
model_b,
|
768 |
final_prompt, # Add final_prompt to state
|
769 |
-
gr.update(value="*Model:
|
770 |
-
gr.update(value="*Model:
|
771 |
)
|
772 |
|
773 |
send_btn.click(
|
|
|
524 |
gr.Markdown("### Model A")
|
525 |
score_a = gr.Textbox(label="Score", interactive=False)
|
526 |
critique_a = gr.TextArea(label="Critique", lines=8, interactive=False)
|
527 |
+
model_name_a = gr.Markdown("*Model: Hidden*")
|
528 |
with gr.Column():
|
529 |
gr.Markdown("### Model B")
|
530 |
score_b = gr.Textbox(label="Score", interactive=False)
|
531 |
critique_b = gr.TextArea(label="Critique", lines=8, interactive=False)
|
532 |
+
model_name_b = gr.Markdown("*Model: Hidden*")
|
533 |
|
534 |
# Initially hide vote buttons and regenerate button
|
535 |
with gr.Row(visible=False) as action_buttons_row:
|
|
|
766 |
model_a,
|
767 |
model_b,
|
768 |
final_prompt, # Add final_prompt to state
|
769 |
+
gr.update(value="*Model: Hidden*"),
|
770 |
+
gr.update(value="*Model: Hidden*"),
|
771 |
)
|
772 |
|
773 |
send_btn.click(
|