Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
5c0554a
1
Parent(s):
49ab1c3
Update app.py
Browse files
app.py
CHANGED
@@ -266,7 +266,8 @@ 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 |
-
|
|
|
270 |
title = gr.HTML(
|
271 |
"""<h1><img src="https://huggingface.co/spaces/multimodalart/flux-lora-the-explorer/resolve/main/flux_lora.png" alt="LoRA"> FLUX LoRA the Explorer</h1>""",
|
272 |
elem_id="title",
|
|
|
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 |
+
font=[gr.themes.GoogleFont("Source Sans Pro"), "Arial", "sans-serif"])
|
270 |
+
with gr.Blocks(theme=gr.themes.Soft(font=font), css=css, delete_cache=(60, 3600)) as app:
|
271 |
title = gr.HTML(
|
272 |
"""<h1><img src="https://huggingface.co/spaces/multimodalart/flux-lora-the-explorer/resolve/main/flux_lora.png" alt="LoRA"> FLUX LoRA the Explorer</h1>""",
|
273 |
elem_id="title",
|