Spaces:
Running on Zero
Running on Zero
set default job duration at 5 minutes and max at 1h
Browse files
app.py
CHANGED
|
@@ -91,11 +91,11 @@ with gr.Blocks(title="RFD3 Test") as demo:
|
|
| 91 |
maximum=50
|
| 92 |
)
|
| 93 |
max_duration = gr.Number(
|
| 94 |
-
value=
|
| 95 |
label="Max Duration (seconds)",
|
| 96 |
precision=0,
|
| 97 |
minimum=1,
|
| 98 |
-
maximum=
|
| 99 |
)
|
| 100 |
|
| 101 |
with gr.Accordion(label="Advanced Options", open=False):
|
|
|
|
| 91 |
maximum=50
|
| 92 |
)
|
| 93 |
max_duration = gr.Number(
|
| 94 |
+
value=300,
|
| 95 |
label="Max Duration (seconds)",
|
| 96 |
precision=0,
|
| 97 |
minimum=1,
|
| 98 |
+
maximum=3600
|
| 99 |
)
|
| 100 |
|
| 101 |
with gr.Accordion(label="Advanced Options", open=False):
|