haepada commited on
Commit
4a1861f
·
verified ·
1 Parent(s): 01c0d7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -9
app.py CHANGED
@@ -809,13 +809,20 @@ def create_interface():
809
  margin: 0 auto;
810
  }
811
 
812
- .blessing-status {
813
- height: auto;
814
- max-height: 200px;
815
- overflow-y: auto;
816
- padding: 10px;
817
- border: 1px solid #ddd;
818
- margin: 10px 0;
 
 
 
 
 
 
 
819
  }
820
  """
821
 
@@ -862,11 +869,11 @@ def create_interface():
862
  streaming=False
863
  )
864
 
865
- # 상태 표시 (길이 조정 추가)
866
  blessing_status = gr.Markdown(
867
  "분석 결과가 여기에 표시됩니다.",
868
  elem_id="blessing-status",
869
- style={"min-height": "200px"} # CSS 스타일로 길이를 조정합니다
870
  )
871
 
872
  # 상태 분석 및 결과창 구분
 
809
  margin: 0 auto;
810
  }
811
 
812
+ .blessing-status-box {
813
+ min-height: 200px !important;
814
+ max-height: 300px !important;
815
+ overflow-y: auto !important;
816
+ padding: 15px !important;
817
+ border: 1px solid #ddd !important;
818
+ border-radius: 8px !important;
819
+ background-color: #f8f9fa !important;
820
+ margin: 10px 0 !important;
821
+ }
822
+
823
+ .blessing-status-box p {
824
+ margin: 0 0 10px 0 !important;
825
+ line-height: 1.5 !important;
826
  }
827
  """
828
 
 
869
  streaming=False
870
  )
871
 
872
+ # elem_classes를 사용하여 스타일 적용
873
  blessing_status = gr.Markdown(
874
  "분석 결과가 여기에 표시됩니다.",
875
  elem_id="blessing-status",
876
+ elem_classes="blessing-status-box"
877
  )
878
 
879
  # 상태 분석 및 결과창 구분