Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -266,7 +266,7 @@ css = '''
|
|
266 |
.progress-container {width: 100%;height: 30px;background-color: #f0f0f0;border-radius: 15px;overflow: hidden;margin-bottom: 20px}
|
267 |
.progress-bar {height: 100%;background-color: #4f46e5;width: calc(var(--current) / var(--total) * 100%);transition: width 0.5s ease-in-out}
|
268 |
'''
|
269 |
-
with gr.Blocks(
|
270 |
title = gr.HTML(
|
271 |
"""<h1>Purz LoRA Portfolio</h1>""",
|
272 |
elem_id="title",
|
@@ -284,7 +284,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
|
|
284 |
[(item["image"], item["title"]) for item in loras],
|
285 |
label="LoRA Gallery",
|
286 |
allow_preview=False,
|
287 |
-
columns=
|
288 |
elem_id="gallery"
|
289 |
)
|
290 |
with gr.Group(visible=False):
|
|
|
266 |
.progress-container {width: 100%;height: 30px;background-color: #f0f0f0;border-radius: 15px;overflow: hidden;margin-bottom: 20px}
|
267 |
.progress-bar {height: 100%;background-color: #4f46e5;width: calc(var(--current) / var(--total) * 100%);transition: width 0.5s ease-in-out}
|
268 |
'''
|
269 |
+
with gr.Blocks(css=css, delete_cache=(60, 3600)) as app:
|
270 |
title = gr.HTML(
|
271 |
"""<h1>Purz LoRA Portfolio</h1>""",
|
272 |
elem_id="title",
|
|
|
284 |
[(item["image"], item["title"]) for item in loras],
|
285 |
label="LoRA Gallery",
|
286 |
allow_preview=False,
|
287 |
+
columns=4,
|
288 |
elem_id="gallery"
|
289 |
)
|
290 |
with gr.Group(visible=False):
|