openfree commited on
Commit
b3f3689
·
verified ·
1 Parent(s): 9f6aa5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -4
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
- ).style(full_width=True) # 전체 너비 사용
 
 
 
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