Spaces:
Running
Running
mrfakename
commited on
Commit
•
9594ec2
1
Parent(s):
99f01ee
mobile fix
Browse files
app.py
CHANGED
@@ -173,13 +173,25 @@ with gr.Blocks() as vote:
|
|
173 |
gr.HTML('<div align="right"><h3>Model B</h3></div>')
|
174 |
model1 = gr.Textbox(interactive=False, visible=False)
|
175 |
model2 = gr.Textbox(interactive=False, visible=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
with gr.Group():
|
177 |
with gr.Row():
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
|
|
|
|
|
|
|
|
|
|
183 |
with gr.Row():
|
184 |
abetter = gr.Button("A is Better", variant='primary')
|
185 |
bbetter = gr.Button("B is Better", variant='primary')
|
|
|
173 |
gr.HTML('<div align="right"><h3>Model B</h3></div>')
|
174 |
model1 = gr.Textbox(interactive=False, visible=False)
|
175 |
model2 = gr.Textbox(interactive=False, visible=False)
|
176 |
+
# with gr.Group():
|
177 |
+
# with gr.Row():
|
178 |
+
# prevmodel1 = gr.Textbox(interactive=False, show_label=False, container=False, value="Vote to reveal model A")
|
179 |
+
# prevmodel2 = gr.Textbox(interactive=False, show_label=False, container=False, value="Vote to reveal model B", text_align="right")
|
180 |
+
# with gr.Row():
|
181 |
+
# aud1 = gr.Audio(interactive=False, show_label=False, show_download_button=False, show_share_button=False, waveform_options={'waveform_progress_color': '#3C82F6'})
|
182 |
+
# aud2 = gr.Audio(interactive=False, show_label=False, show_download_button=False, show_share_button=False, waveform_options={'waveform_progress_color': '#3C82F6'})
|
183 |
with gr.Group():
|
184 |
with gr.Row():
|
185 |
+
with gr.Column():
|
186 |
+
with gr.Group():
|
187 |
+
prevmodel1 = gr.Textbox(interactive=False, show_label=False, container=False, value="Vote to reveal model A")
|
188 |
+
aud1 = gr.Audio(interactive=False, show_label=False, show_download_button=False, show_share_button=False, waveform_options={'waveform_progress_color': '#3C82F6'})
|
189 |
+
with gr.Column():
|
190 |
+
with gr.Group():
|
191 |
+
prevmodel2 = gr.Textbox(interactive=False, show_label=False, container=False, value="Vote to reveal model B", text_align="right")
|
192 |
+
aud2 = gr.Audio(interactive=False, show_label=False, show_download_button=False, show_share_button=False, waveform_options={'waveform_progress_color': '#3C82F6'})
|
193 |
+
|
194 |
+
|
195 |
with gr.Row():
|
196 |
abetter = gr.Button("A is Better", variant='primary')
|
197 |
bbetter = gr.Button("B is Better", variant='primary')
|