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