Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -317,6 +317,14 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
317 |
)
|
318 |
|
319 |
with gr.Accordion("Advanced options", open=False, visible=True):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
style_selection = gr.Radio(
|
321 |
show_label=True,
|
322 |
container=True,
|
|
|
317 |
)
|
318 |
|
319 |
with gr.Accordion("Advanced options", open=False, visible=True):
|
320 |
+
gpu_duration = gr.Dropdown(
|
321 |
+
label="GPU Duration",
|
322 |
+
choices=list(GPU_DURATION_OPTIONS.keys()),
|
323 |
+
value="Medium (80s)" # Default value
|
324 |
+
)
|
325 |
+
|
326 |
+
gpu_duration.change(fn=set_gpu_duration, inputs=gpu_duration, outputs=[])
|
327 |
+
|
328 |
style_selection = gr.Radio(
|
329 |
show_label=True,
|
330 |
container=True,
|