refactor: defaults
Browse files
app.py
CHANGED
@@ -164,18 +164,18 @@ with gr.Blocks() as demo:
|
|
164 |
|
165 |
with gr.Row():
|
166 |
lycoris_id = gr.Textbox(
|
167 |
-
label="
|
168 |
-
value="
|
169 |
)
|
170 |
|
171 |
with gr.Row():
|
172 |
lycoris_weight_name = gr.Textbox(
|
173 |
-
label="
|
174 |
-
value="
|
175 |
info="Specify for repos with multiple .safetensors files, e.g.: adapter_model.safetensors, pytorch_lora_weights.safetensors, etc."
|
176 |
)
|
177 |
lycoris_scale = gr.Slider(
|
178 |
-
label="
|
179 |
minimum=0.0,
|
180 |
maximum=2.0,
|
181 |
value=1.00,
|
@@ -241,7 +241,7 @@ with gr.Blocks() as demo:
|
|
241 |
label="Inference Steps",
|
242 |
minimum=10,
|
243 |
maximum=100,
|
244 |
-
value=
|
245 |
step=1
|
246 |
)
|
247 |
|
@@ -285,11 +285,8 @@ with gr.Blocks() as demo:
|
|
285 |
- For smaller resolution videos, try lower values of flow shift (2.0-5.0)
|
286 |
- For larger resolution videos, try higher values of flow shift (7.0-12.0)
|
287 |
- Number of frames should be of the form 4k+1 (e.g., 33, 81)
|
288 |
-
- Stick to lower frame counts. Even at 480p, an 81 frame sequence at 30 steps will nearly time out the request in this space.
|
289 |
|
290 |
-
## Using LyCORIS with multiple safetensors files:
|
291 |
-
If you encounter an error stating "Could not download default adapter file", you need to specify the exact weight file name in the "LyCORIS Weight Name" field.
|
292 |
-
You can find this by browsing the repository on Hugging Face and looking for the safetensors files (common names include: adapter_model.safetensors, pytorch_lora_weights.safetensors).
|
293 |
""")
|
294 |
|
295 |
demo.launch()
|
|
|
164 |
|
165 |
with gr.Row():
|
166 |
lycoris_id = gr.Textbox(
|
167 |
+
label="Adapter Repo (e.g., markury/wan-st)",
|
168 |
+
value="markury/wan-st"
|
169 |
)
|
170 |
|
171 |
with gr.Row():
|
172 |
lycoris_weight_name = gr.Textbox(
|
173 |
+
label="Adapter Path in Repo",
|
174 |
+
value="pytorch_lora_weights.safetensors",
|
175 |
info="Specify for repos with multiple .safetensors files, e.g.: adapter_model.safetensors, pytorch_lora_weights.safetensors, etc."
|
176 |
)
|
177 |
lycoris_scale = gr.Slider(
|
178 |
+
label="Adapter Scale",
|
179 |
minimum=0.0,
|
180 |
maximum=2.0,
|
181 |
value=1.00,
|
|
|
241 |
label="Inference Steps",
|
242 |
minimum=10,
|
243 |
maximum=100,
|
244 |
+
value=20,
|
245 |
step=1
|
246 |
)
|
247 |
|
|
|
285 |
- For smaller resolution videos, try lower values of flow shift (2.0-5.0)
|
286 |
- For larger resolution videos, try higher values of flow shift (7.0-12.0)
|
287 |
- Number of frames should be of the form 4k+1 (e.g., 33, 81)
|
288 |
+
- Stick to lower frame counts. Even at 480p, an 81 frame sequence at 30 steps will nearly time out the request in this ZeroGPU space.
|
289 |
|
|
|
|
|
|
|
290 |
""")
|
291 |
|
292 |
demo.launch()
|