LPX55 Fabrice-TIERCELIN commited on
Commit
050305b
·
verified ·
1 Parent(s): 83f88ca

This PR adds color code for buttons (#1)

Browse files

- This PR adds color code for buttons (0b5e3fef27a376cec87c4d6e57e792048e7f72ff)


Co-authored-by: Fabrice TIERCELIN <Fabrice-TIERCELIN@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -441,8 +441,8 @@ with block:
441
  example_quick_prompts.click(lambda x: x[0], inputs=[example_quick_prompts], outputs=prompt, show_progress=False, queue=False)
442
 
443
  with gr.Row():
444
- start_button = gr.Button(value="Start Generation")
445
- end_button = gr.Button(value="End Generation", interactive=False)
446
 
447
  total_second_length = gr.Slider(label="Total Video Length (Seconds)", minimum=1, maximum=5, value=2, step=0.1)
448
  with gr.Group():
 
441
  example_quick_prompts.click(lambda x: x[0], inputs=[example_quick_prompts], outputs=prompt, show_progress=False, queue=False)
442
 
443
  with gr.Row():
444
+ start_button = gr.Button(value="Start Generation", variant="primary")
445
+ end_button = gr.Button(value="End Generation", variant="stop", interactive=False)
446
 
447
  total_second_length = gr.Slider(label="Total Video Length (Seconds)", minimum=1, maximum=5, value=2, step=0.1)
448
  with gr.Group():