Spaces:
Running
on
Zero
Running
on
Zero
mrfakename
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -399,13 +399,15 @@ with gr.Blocks() as leaderboard:
|
|
399 |
with gr.Blocks() as vote:
|
400 |
useridstate = gr.State()
|
401 |
gr.Markdown(INSTR)
|
|
|
|
|
|
|
402 |
with gr.Row():
|
403 |
gr.HTML('<div align="left"><h3>Model A</h3></div>')
|
404 |
gr.HTML('<div align="right"><h3>Model B</h3></div>')
|
405 |
model1 = gr.Textbox(interactive=False, visible=False, lines=1, max_lines=1)
|
406 |
model2 = gr.Textbox(interactive=False, visible=False, lines=1, max_lines=1)
|
407 |
|
408 |
-
text = gr.Textbox(label="Enter text to synthesize", info="By entering text, you certify that it is either in the public domain or, if you are its author, you dedicate it into the public domain. You also must agree to the privacy statement in the About page.")
|
409 |
with gr.Group(visible=False):
|
410 |
with gr.Row():
|
411 |
with gr.Column():
|
|
|
399 |
with gr.Blocks() as vote:
|
400 |
useridstate = gr.State()
|
401 |
gr.Markdown(INSTR)
|
402 |
+
with gr.Group():
|
403 |
+
text = gr.Textbox(label="Enter text to synthesize", info="By entering text, you certify that it is either in the public domain or, if you are its author, you dedicate it into the public domain. You also must agree to the privacy statement in the About page.")
|
404 |
+
btn = gr.Button("Synthesize", variant='primary')
|
405 |
with gr.Row():
|
406 |
gr.HTML('<div align="left"><h3>Model A</h3></div>')
|
407 |
gr.HTML('<div align="right"><h3>Model B</h3></div>')
|
408 |
model1 = gr.Textbox(interactive=False, visible=False, lines=1, max_lines=1)
|
409 |
model2 = gr.Textbox(interactive=False, visible=False, lines=1, max_lines=1)
|
410 |
|
|
|
411 |
with gr.Group(visible=False):
|
412 |
with gr.Row():
|
413 |
with gr.Column():
|