Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
2ea4396
1
Parent(s):
a306a16
decreased number of steps for LCM examples
Browse files
app.py
CHANGED
@@ -243,7 +243,7 @@ with gr.Blocks(css=css, theme=gr.themes.Ocean(), title="MoD ControlNet Tile Upsc
|
|
243 |
label="Generated Image", show_label=True, format="png", interactive=False, scale=1, height=500, min_width=670
|
244 |
)
|
245 |
with gr.Row():
|
246 |
-
gr.HTML("<div style='color: red;'>If you are not a Pro account, run the LCM sampler examples on the RealVisXL_V5.0_Lightning model. For best results use the UniPC sampler and RealVisXL_V5.0 model examples.</div>")
|
247 |
with gr.Row():
|
248 |
with gr.Accordion("Input Prompt", open=False):
|
249 |
with gr.Column():
|
@@ -302,7 +302,7 @@ with gr.Blocks(css=css, theme=gr.themes.Ocean(), title="MoD ControlNet Tile Upsc
|
|
302 |
negative_prompt.value,
|
303 |
4096,
|
304 |
0.0,
|
305 |
-
|
306 |
0.35,
|
307 |
1.0,
|
308 |
0.3,
|
@@ -332,7 +332,7 @@ with gr.Blocks(css=css, theme=gr.themes.Ocean(), title="MoD ControlNet Tile Upsc
|
|
332 |
negative_prompt.value,
|
333 |
4096,
|
334 |
0.5,
|
335 |
-
|
336 |
0.35,
|
337 |
1.0,
|
338 |
0.3,
|
@@ -362,7 +362,7 @@ with gr.Blocks(css=css, theme=gr.themes.Ocean(), title="MoD ControlNet Tile Upsc
|
|
362 |
negative_prompt.value,
|
363 |
5120,
|
364 |
0.5,
|
365 |
-
|
366 |
0.35,
|
367 |
1.0,
|
368 |
0.3,
|
@@ -392,7 +392,7 @@ with gr.Blocks(css=css, theme=gr.themes.Ocean(), title="MoD ControlNet Tile Upsc
|
|
392 |
negative_prompt.value,
|
393 |
8192,
|
394 |
0.1,
|
395 |
-
|
396 |
0.35,
|
397 |
1.0,
|
398 |
0.3,
|
@@ -422,7 +422,7 @@ with gr.Blocks(css=css, theme=gr.themes.Ocean(), title="MoD ControlNet Tile Upsc
|
|
422 |
negative_prompt.value,
|
423 |
8192,
|
424 |
0.3,
|
425 |
-
|
426 |
0.35,
|
427 |
1.0,
|
428 |
0.3,
|
|
|
243 |
label="Generated Image", show_label=True, format="png", interactive=False, scale=1, height=500, min_width=670
|
244 |
)
|
245 |
with gr.Row():
|
246 |
+
gr.HTML("<div style='color: red;'>Users are getting the 'ZeroGPU worker error' because the execution time on Zero GPU for non-Pro users is 120s. I reduced the number of steps to 18 in the LCM examples to avoid this error, however this will result in low quality in the final result. It is better to run this application locally or duplicate the environment for a paid account. If you are not a Pro account, run the LCM sampler examples on the RealVisXL_V5.0_Lightning model. For best results use the UniPC sampler and RealVisXL_V5.0 model examples.</div>")
|
247 |
with gr.Row():
|
248 |
with gr.Accordion("Input Prompt", open=False):
|
249 |
with gr.Column():
|
|
|
302 |
negative_prompt.value,
|
303 |
4096,
|
304 |
0.0,
|
305 |
+
18,
|
306 |
0.35,
|
307 |
1.0,
|
308 |
0.3,
|
|
|
332 |
negative_prompt.value,
|
333 |
4096,
|
334 |
0.5,
|
335 |
+
18,
|
336 |
0.35,
|
337 |
1.0,
|
338 |
0.3,
|
|
|
362 |
negative_prompt.value,
|
363 |
5120,
|
364 |
0.5,
|
365 |
+
18,
|
366 |
0.35,
|
367 |
1.0,
|
368 |
0.3,
|
|
|
392 |
negative_prompt.value,
|
393 |
8192,
|
394 |
0.1,
|
395 |
+
18,
|
396 |
0.35,
|
397 |
1.0,
|
398 |
0.3,
|
|
|
422 |
negative_prompt.value,
|
423 |
8192,
|
424 |
0.3,
|
425 |
+
18,
|
426 |
0.35,
|
427 |
1.0,
|
428 |
0.3,
|