Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
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 |
|