Spaces:
Running
on
Zero
Running
on
Zero
This PR adds color code for buttons
Browse filesAdd the feature of standard color code for the Start and the End buttons. It helps the users to understand how the space works.
Click on _Merge_ to add this feature.
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():
|