Spaces:
Running
on
Zero
Running
on
Zero
update app
Browse files
app.py
CHANGED
|
@@ -1352,7 +1352,7 @@ css = '''
|
|
| 1352 |
.progress-bar {height: 100%;background-color: #4f46e5;width: calc(var(--current) / var(--total) * 100%);transition: width 0.5s ease-in-out}
|
| 1353 |
'''
|
| 1354 |
|
| 1355 |
-
with gr.Blocks(delete_cache=(60, 60)) as
|
| 1356 |
title = gr.HTML(
|
| 1357 |
"""<h1>FLUX LoRA DLC2🔥</h1>""",
|
| 1358 |
elem_id="title",
|
|
@@ -1423,5 +1423,5 @@ with gr.Blocks(delete_cache=(60, 60)) as app:
|
|
| 1423 |
outputs=[result, seed, progress_bar]
|
| 1424 |
)
|
| 1425 |
|
| 1426 |
-
|
| 1427 |
-
|
|
|
|
| 1352 |
.progress-bar {height: 100%;background-color: #4f46e5;width: calc(var(--current) / var(--total) * 100%);transition: width 0.5s ease-in-out}
|
| 1353 |
'''
|
| 1354 |
|
| 1355 |
+
with gr.Blocks(delete_cache=(60, 60)) as demo:
|
| 1356 |
title = gr.HTML(
|
| 1357 |
"""<h1>FLUX LoRA DLC2🔥</h1>""",
|
| 1358 |
elem_id="title",
|
|
|
|
| 1423 |
outputs=[result, seed, progress_bar]
|
| 1424 |
)
|
| 1425 |
|
| 1426 |
+
demo.queue()
|
| 1427 |
+
demo.launch(theme=steel_blue_theme, css=css, mcp_server=True, ssr_mode=False, show_error=True)
|