Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
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(
|
| 1356 |
title = gr.HTML(
|
| 1357 |
"""<h1>FLUX LoRA DLC2🔥</h1>""",
|
| 1358 |
elem_id="title",
|
|
@@ -1372,7 +1372,7 @@ with gr.Blocks(theme=steel_blue_theme, css=css, delete_cache=(60, 60)) as demo:
|
|
| 1372 |
allow_preview=False,
|
| 1373 |
columns=3,
|
| 1374 |
elem_id="gallery",
|
| 1375 |
-
show_share_button=False
|
| 1376 |
)
|
| 1377 |
with gr.Group():
|
| 1378 |
custom_lora = gr.Textbox(label="Enter Custom LoRA", placeholder="prithivMLmods/Canopus-LoRA-Flux-Anime")
|
|
@@ -1424,4 +1424,4 @@ with gr.Blocks(theme=steel_blue_theme, css=css, delete_cache=(60, 60)) as demo:
|
|
| 1424 |
)
|
| 1425 |
|
| 1426 |
demo.queue()
|
| 1427 |
-
demo.launch(mcp_server=True, ssr_mode=False, show_error=True)
|
|
|
|
| 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",
|
|
|
|
| 1372 |
allow_preview=False,
|
| 1373 |
columns=3,
|
| 1374 |
elem_id="gallery",
|
| 1375 |
+
#show_share_button=False
|
| 1376 |
)
|
| 1377 |
with gr.Group():
|
| 1378 |
custom_lora = gr.Textbox(label="Enter Custom LoRA", placeholder="prithivMLmods/Canopus-LoRA-Flux-Anime")
|
|
|
|
| 1424 |
)
|
| 1425 |
|
| 1426 |
demo.queue()
|
| 1427 |
+
demo.launch(theme=steel_blue_theme, css=css, mcp_server=True, ssr_mode=False, show_error=True)
|