multimodalart HF staff commited on
Commit
2a3d176
1 Parent(s): 6c4a649

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(theme=gr.themes.Soft(), css=css, delete_cache=(60, 3600)) as app:
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=3,
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):