Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -720,6 +720,12 @@ input:focus, textarea:focus {
|
|
| 720 |
}
|
| 721 |
|
| 722 |
#footer {visibility: hidden;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 723 |
'''
|
| 724 |
|
| 725 |
|
|
@@ -745,13 +751,14 @@ with gr.Blocks(theme=custom_theme, css=css, delete_cache=(60, 3600)) as app:
|
|
| 745 |
show_label=True,
|
| 746 |
allow_preview=False,
|
| 747 |
show_share_button=False,
|
| 748 |
-
scale=None, # scale 제거
|
| 749 |
container=True,
|
| 750 |
-
preview=False
|
| 751 |
-
|
|
|
|
|
|
|
|
|
|
| 752 |
|
| 753 |
|
| 754 |
-
|
| 755 |
|
| 756 |
with gr.Tab(label="Generate"):
|
| 757 |
# Prompt and Generate Button
|
|
|
|
| 720 |
}
|
| 721 |
|
| 722 |
#footer {visibility: hidden;}
|
| 723 |
+
|
| 724 |
+
/* 갤러리 컨테이너 클래스 */
|
| 725 |
+
.gallery-container {
|
| 726 |
+
width: 100% !important;
|
| 727 |
+
max-width: 100% !important;
|
| 728 |
+
}
|
| 729 |
'''
|
| 730 |
|
| 731 |
|
|
|
|
| 751 |
show_label=True,
|
| 752 |
allow_preview=False,
|
| 753 |
show_share_button=False,
|
|
|
|
| 754 |
container=True,
|
| 755 |
+
preview=False,
|
| 756 |
+
scale=1,
|
| 757 |
+
min_width=1200,
|
| 758 |
+
elem_classes=["gallery-container"] # CSS 클래스 추가
|
| 759 |
+
)
|
| 760 |
|
| 761 |
|
|
|
|
| 762 |
|
| 763 |
with gr.Tab(label="Generate"):
|
| 764 |
# Prompt and Generate Button
|