Update app.py
Browse files
app.py
CHANGED
@@ -686,14 +686,14 @@ with gr.Blocks(css=css) as demo:
|
|
686 |
variant="primary",
|
687 |
size="lg"
|
688 |
)
|
689 |
-
|
690 |
with gr.Tab("🧐 성격과 특징 분석"):
|
691 |
with gr.Group(elem_classes="output-container"):
|
692 |
character_output = gr.Textbox(
|
693 |
label="🎭 당신의 성격과 특징",
|
694 |
-
elem_classes="large-output-box",
|
695 |
-
lines=
|
696 |
-
max_lines=
|
697 |
placeholder="성격 분석 결과가 여기에 표시됩니다..."
|
698 |
)
|
699 |
analyze_button = gr.Button(
|
@@ -707,9 +707,9 @@ with gr.Blocks(css=css) as demo:
|
|
707 |
gr.Markdown("### 🌟 2025년 을사년 신년운세 🌟", elem_classes="newyear-title")
|
708 |
newyear_output = gr.Textbox(
|
709 |
label="🎉 상세 운세 분석",
|
710 |
-
elem_classes="large-output-box",
|
711 |
-
lines=
|
712 |
-
max_lines=
|
713 |
show_label=True,
|
714 |
placeholder="2025년 운세 분석 결과가 여기에 표시됩니다..."
|
715 |
)
|
@@ -719,6 +719,9 @@ with gr.Blocks(css=css) as demo:
|
|
719 |
size="lg"
|
720 |
)
|
721 |
|
|
|
|
|
|
|
722 |
# 시간대 변경 시 도시 목록 업데이트 함수
|
723 |
def update_timezone_cities(value):
|
724 |
cities = [k for k, v in TIMEZONE_CITIES.items() if abs(v - value) < 0.1]
|
|
|
686 |
variant="primary",
|
687 |
size="lg"
|
688 |
)
|
689 |
+
|
690 |
with gr.Tab("🧐 성격과 특징 분석"):
|
691 |
with gr.Group(elem_classes="output-container"):
|
692 |
character_output = gr.Textbox(
|
693 |
label="🎭 당신의 성격과 특징",
|
694 |
+
elem_classes="large-output-box character-output-box", # 클래스 추가
|
695 |
+
lines=30, # 줄 수 증가
|
696 |
+
max_lines=50,
|
697 |
placeholder="성격 분석 결과가 여기에 표시됩니다..."
|
698 |
)
|
699 |
analyze_button = gr.Button(
|
|
|
707 |
gr.Markdown("### 🌟 2025년 을사년 신년운세 🌟", elem_classes="newyear-title")
|
708 |
newyear_output = gr.Textbox(
|
709 |
label="🎉 상세 운세 분석",
|
710 |
+
elem_classes="large-output-box newyear-output-box", # 클래스 추가
|
711 |
+
lines=30, # 줄 수 증가
|
712 |
+
max_lines=50,
|
713 |
show_label=True,
|
714 |
placeholder="2025년 운세 분석 결과가 여기에 표시됩니다..."
|
715 |
)
|
|
|
719 |
size="lg"
|
720 |
)
|
721 |
|
722 |
+
|
723 |
+
|
724 |
+
|
725 |
# 시간대 변경 시 도시 목록 업데이트 함수
|
726 |
def update_timezone_cities(value):
|
727 |
cities = [k for k, v in TIMEZONE_CITIES.items() if abs(v - value) < 0.1]
|