openfree commited on
Commit
778c7a6
Β·
verified Β·
1 Parent(s): 67c0e6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -9
app.py CHANGED
@@ -712,13 +712,14 @@ with gr.Blocks(theme=custom_theme, css=css, delete_cache=(60, 3600)) as app:
712
  κ°€λŸ¬λ¦¬μ—μ„œ μ›ν•˜λŠ” λͺ¨λΈμ„ 선택(μ΅œλŒ€ 3κ°œκΉŒμ§€) < ν”„λ‘¬ν”„νŠΈμ— ν•œκΈ€ λ˜λŠ” 영문으둜 μ›ν•˜λŠ” λ‚΄μš©μ„ μž…λ ₯ < Generate λ²„νŠΌ μ‹€ν–‰
713
  """
714
  )
 
715
  # Gallery μ»΄ν¬λ„ŒνŠΈ μˆ˜μ •
716
  with gr.Row(elem_id="lora_gallery", equal_height=True):
717
  gallery = gr.Gallery(
718
  value=[(item["image"], item["title"]) for item in loras],
719
  label="LoRA Explorer Gallery",
720
  columns=6,
721
- rows="auto", # μžλ™ ν–‰ μ‘°μ •
722
  elem_id="gallery",
723
  height="800px",
724
  object_fit="cover",
@@ -726,15 +727,10 @@ with gr.Blocks(theme=custom_theme, css=css, delete_cache=(60, 3600)) as app:
726
  allow_preview=False,
727
  show_share_button=False,
728
  scale=1,
729
- min_width=1200
730
- ).style(
731
- grid_cols=6,
732
- grid_rows="auto",
733
- height="800px",
734
- width="100%",
735
  container=True,
736
- full_width=True
737
- )
738
 
739
 
740
 
 
712
  κ°€λŸ¬λ¦¬μ—μ„œ μ›ν•˜λŠ” λͺ¨λΈμ„ 선택(μ΅œλŒ€ 3κ°œκΉŒμ§€) < ν”„λ‘¬ν”„νŠΈμ— ν•œκΈ€ λ˜λŠ” 영문으둜 μ›ν•˜λŠ” λ‚΄μš©μ„ μž…λ ₯ < Generate λ²„νŠΌ μ‹€ν–‰
713
  """
714
  )
715
+
716
  # Gallery μ»΄ν¬λ„ŒνŠΈ μˆ˜μ •
717
  with gr.Row(elem_id="lora_gallery", equal_height=True):
718
  gallery = gr.Gallery(
719
  value=[(item["image"], item["title"]) for item in loras],
720
  label="LoRA Explorer Gallery",
721
  columns=6,
722
+ rows="auto",
723
  elem_id="gallery",
724
  height="800px",
725
  object_fit="cover",
 
727
  allow_preview=False,
728
  show_share_button=False,
729
  scale=1,
730
+ min_width=1200,
 
 
 
 
 
731
  container=True,
732
+ preview=False
733
+ )
734
 
735
 
736