TulipAIs commited on
Commit
6735550
·
1 Parent(s): aa848d6

trying to move the "Generate" and "Interrupt" buttons to a row between prompt and output 2

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1041,9 +1041,9 @@ def ui_full(launch_kwargs):
1041
  topp_a = gr.Number(label="Top-p", value=0, interactive=True)
1042
  temperature_a = gr.Number(label="Temperature", value=1.0, interactive=True)
1043
  cfg_coef_a = gr.Number(label="Classifier Free Guidance", value=3.0, interactive=True)
1044
- with gr.Row():
1045
- submit_a = gr.Button("Generate", variant="primary")
1046
- _ = gr.Button("Interrupt").click(fn=interrupt, queue=False)
1047
  with gr.Row():
1048
  with gr.Tab("Output"):
1049
  output_a = gr.Video(label="Generated Audio", scale=0)
 
1041
  topp_a = gr.Number(label="Top-p", value=0, interactive=True)
1042
  temperature_a = gr.Number(label="Temperature", value=1.0, interactive=True)
1043
  cfg_coef_a = gr.Number(label="Classifier Free Guidance", value=3.0, interactive=True)
1044
+ with gr.Row():
1045
+ submit_a = gr.Button("Generate", variant="primary")
1046
+ _ = gr.Button("Interrupt").click(fn=interrupt, queue=False)
1047
  with gr.Row():
1048
  with gr.Tab("Output"):
1049
  output_a = gr.Video(label="Generated Audio", scale=0)