Spaces:
Running
Running
Update app_df.py
Browse files
app_df.py
CHANGED
@@ -132,7 +132,7 @@ model_options = ["Skywork/SkyReels-V2-DF-1.3B-540P"] # Update if there are more
|
|
132 |
|
133 |
length_options = []
|
134 |
if is_shared_ui is True:
|
135 |
-
length_options = ["4", "10"
|
136 |
else:
|
137 |
length_options = ["4", "10", "15", "30", "60"]
|
138 |
|
@@ -163,7 +163,7 @@ with gr.Blocks() as demo:
|
|
163 |
with gr.Row():
|
164 |
if is_shared_ui:
|
165 |
target_length = gr.Radio(label="Video length target", choices=length_options, value="4")
|
166 |
-
forbidden_length = gr.Radio(label="Available target on duplicated instance", choices=["30","60"], value=None, interactive=False)
|
167 |
else:
|
168 |
target_length = gr.Radio(label="Video length target", choices=length_options, value="4")
|
169 |
|
|
|
132 |
|
133 |
length_options = []
|
134 |
if is_shared_ui is True:
|
135 |
+
length_options = ["4", "10"]
|
136 |
else:
|
137 |
length_options = ["4", "10", "15", "30", "60"]
|
138 |
|
|
|
163 |
with gr.Row():
|
164 |
if is_shared_ui:
|
165 |
target_length = gr.Radio(label="Video length target", choices=length_options, value="4")
|
166 |
+
forbidden_length = gr.Radio(label="Available target on duplicated instance", choices=["15","30","60"], value=None, interactive=False)
|
167 |
else:
|
168 |
target_length = gr.Radio(label="Video length target", choices=length_options, value="4")
|
169 |
|