Spaces:
Running
on
Zero
Running
on
Zero
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>
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():
|