mrfakename commited on
Commit
ed2d8ff
1 Parent(s): ce15f77
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -353,8 +353,8 @@ with gr.Blocks() as vote:
353
  with gr.Row():
354
  gr.HTML('<div align="left"><h3>Model A</h3></div>')
355
  gr.HTML('<div align="right"><h3>Model B</h3></div>')
356
- model1 = gr.Textbox(interactive=False, visible=False, max_lines=1, lines=1)
357
- model2 = gr.Textbox(interactive=False, visible=False, max_lines=1, lines=1)
358
  # with gr.Group():
359
  # with gr.Row():
360
  # prevmodel1 = gr.Textbox(interactive=False, show_label=False, container=False, value="Vote to reveal model A")
@@ -366,11 +366,11 @@ with gr.Blocks() as vote:
366
  with gr.Row():
367
  with gr.Column():
368
  with gr.Group():
369
- prevmodel1 = gr.Textbox(interactive=False, show_label=False, container=False, value="Vote to reveal model A")
370
  aud1 = gr.Audio(interactive=False, show_label=False, show_download_button=False, show_share_button=False, waveform_options={'waveform_progress_color': '#3C82F6'})
371
  with gr.Column():
372
  with gr.Group():
373
- prevmodel2 = gr.Textbox(interactive=False, show_label=False, container=False, value="Vote to reveal model B", text_align="right")
374
  aud2 = gr.Audio(interactive=False, show_label=False, show_download_button=False, show_share_button=False, waveform_options={'waveform_progress_color': '#3C82F6'})
375
 
376
 
 
353
  with gr.Row():
354
  gr.HTML('<div align="left"><h3>Model A</h3></div>')
355
  gr.HTML('<div align="right"><h3>Model B</h3></div>')
356
+ model1 = gr.Textbox(interactive=False, visible=False, lines=1, max_lines=1)
357
+ model2 = gr.Textbox(interactive=False, visible=False, lines=1, max_lines=1)
358
  # with gr.Group():
359
  # with gr.Row():
360
  # prevmodel1 = gr.Textbox(interactive=False, show_label=False, container=False, value="Vote to reveal model A")
 
366
  with gr.Row():
367
  with gr.Column():
368
  with gr.Group():
369
+ prevmodel1 = gr.Textbox(interactive=False, show_label=False, container=False, value="Vote to reveal model A", lines=1, max_lines=1)
370
  aud1 = gr.Audio(interactive=False, show_label=False, show_download_button=False, show_share_button=False, waveform_options={'waveform_progress_color': '#3C82F6'})
371
  with gr.Column():
372
  with gr.Group():
373
+ prevmodel2 = gr.Textbox(interactive=False, show_label=False, container=False, value="Vote to reveal model B", text_align="right", lines=1, max_lines=1)
374
  aud2 = gr.Audio(interactive=False, show_label=False, show_download_button=False, show_share_button=False, waveform_options={'waveform_progress_color': '#3C82F6'})
375
 
376