Spaces:
Running on Zero
Running on Zero
Update app.py
#2
by 26A1 - opened
app.py
CHANGED
|
@@ -197,8 +197,8 @@ with gr.Blocks(theme=gr.Theme.from_hub("26A1/_")) as demo:
|
|
| 197 |
with gr.Column():
|
| 198 |
prompt_input = gr.Textbox(label="Prompt", value=default_prompt_t2v, lines=3)
|
| 199 |
aspect_ratio_input = gr.Dropdown(choices=list(ASPECT_RATIOS.keys()), value=DEFAULT_RATIO, label="Aspect ratio")
|
| 200 |
-
duration_seconds_input = gr.Slider(minimum=MIN_DURATION, maximum=MAX_DURATION, step=0.1, value=6, label="Duration (s)", info=f"Clamped to model's {MIN_FRAMES_MODEL}-{MAX_FRAMES_MODEL} frames at {FIXED_FPS}fps.")
|
| 201 |
-
GPU_time_input = gr.Slider(value=180,minimum=0,maximum=
|
| 202 |
|
| 203 |
with gr.Accordion("Advanced Settings", open=False):
|
| 204 |
negative_prompt_input = gr.Textbox(label="Negative Prompt", value=default_negative_prompt, lines=3)
|
|
|
|
| 197 |
with gr.Column():
|
| 198 |
prompt_input = gr.Textbox(label="Prompt", value=default_prompt_t2v, lines=3)
|
| 199 |
aspect_ratio_input = gr.Dropdown(choices=list(ASPECT_RATIOS.keys()), value=DEFAULT_RATIO, label="Aspect ratio")
|
| 200 |
+
duration_seconds_input = gr.Slider(minimum=MIN_DURATION, maximum=MAX_DURATION, step=0.1, value=6.4, label="Duration (s)", info=f"Clamped to model's {MIN_FRAMES_MODEL}-{MAX_FRAMES_MODEL} frames at {FIXED_FPS}fps.")
|
| 201 |
+
GPU_time_input = gr.Slider(value=180,minimum=0,maximum=360,step=1,label="GPU time (s)",info="0:Auto")
|
| 202 |
|
| 203 |
with gr.Accordion("Advanced Settings", open=False):
|
| 204 |
negative_prompt_input = gr.Textbox(label="Negative Prompt", value=default_negative_prompt, lines=3)
|