This PR adds color code for buttons

#3
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -441,8 +441,8 @@ adapted from the officical code repo [FramePack](https://github.com/lllyasviel/F
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():