openfree commited on
Commit
1be6d32
·
verified ·
1 Parent(s): e6c2746

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -47
app.py CHANGED
@@ -12,7 +12,7 @@ from travel import (
12
 
13
  # st.set_page_config()는 다른 Streamlit 함수보다 가장 먼저 실행되어야 합니다.
14
  st.set_page_config(
15
- page_title="Globetrotter AI: Your AI Agent for Travelling",
16
  page_icon="✈️",
17
  layout="wide",
18
  initial_sidebar_state="expanded"
@@ -23,8 +23,8 @@ st.set_page_config(
23
  # ------------------------------------------
24
  translations = {
25
  "en": {
26
- "page_title": "Globetrotter AI: Your AI Agent for Travelling",
27
- "header": "Globetrotter AI: Your AI Agent for Travelling",
28
  "create_itinerary": "Create Your Itinerary",
29
  "trip_details": "Trip Details",
30
  "origin": "Origin",
@@ -62,8 +62,8 @@ translations = {
62
  "text_format": "Text format - Can be opened in any text editor"
63
  },
64
  "ko": {
65
- "page_title": "Globetrotter AI: 당신의 여행을 위한 AI 에이전트",
66
- "header": "Globetrotter AI: 당신의 여행을 위한 AI 에이전트",
67
  "create_itinerary": "여행 일정 생성",
68
  "trip_details": "여행 세부 정보",
69
  "origin": "출발지",
@@ -101,8 +101,8 @@ translations = {
101
  "text_format": "텍스트 형식 - 모든 텍스트 편집기에서 열 수 있습니다."
102
  },
103
  "ja": {
104
- "page_title": "Globetrotter AI: あなたの旅行のためのAIエージェント",
105
- "header": "Globetrotter AI: あなたの旅行のためのAIエージェント",
106
  "create_itinerary": "旅行プラン作成",
107
  "trip_details": "旅行詳細",
108
  "origin": "出発地",
@@ -140,8 +140,8 @@ translations = {
140
  "text_format": "テキスト形式 - 任意のテキストエディタで開けます。"
141
  },
142
  "zh": {
143
- "page_title": "Globetrotter AI:您的旅行 AI 代理",
144
- "header": "Globetrotter AI:您的旅行 AI 代理",
145
  "create_itinerary": "创建您的行程",
146
  "trip_details": "旅行详情",
147
  "origin": "出发地",
@@ -179,8 +179,8 @@ translations = {
179
  "text_format": "文本格式 - 可在任何文本编辑器中打开。"
180
  },
181
  "es": {
182
- "page_title": "Globetrotter AI: Tu Agente de IA para Viajar",
183
- "header": "Globetrotter AI: Tu Agente de IA para Viajar",
184
  "create_itinerary": "Crea Tu Itinerario",
185
  "trip_details": "Detalles del Viaje",
186
  "origin": "Origen",
@@ -218,8 +218,8 @@ translations = {
218
  "text_format": "Formato de texto - Se puede abrir en cualquier editor de texto."
219
  },
220
  "fr": {
221
- "page_title": "Globetrotter AI : Votre Agent IA pour Voyager",
222
- "header": "Globetrotter AI : Votre Agent IA pour Voyager",
223
  "create_itinerary": "Créez Votre Itinéraire",
224
  "trip_details": "Détails du Voyage",
225
  "origin": "Origine",
@@ -257,8 +257,8 @@ translations = {
257
  "text_format": "Format texte - Peut être ouvert dans n'importe quel éditeur de texte."
258
  },
259
  "de": {
260
- "page_title": "Globetrotter AI: Ihr KI-Reiseassistent",
261
- "header": "Globetrotter AI: Ihr KI-Reiseassistent",
262
  "create_itinerary": "Erstellen Sie Ihre Reiseroute",
263
  "trip_details": "Reisedetails",
264
  "origin": "Abfahrtsort",
@@ -296,8 +296,8 @@ translations = {
296
  "text_format": "Textformat – Kann in jedem Texteditor geöffnet werden."
297
  },
298
  "ar": {
299
- "page_title": "Globetrotter AI: وكيل السفر الذكي الخاص بك",
300
- "header": "Globetrotter AI: وكيل السفر الذكي الخاص بك",
301
  "create_itinerary": "إنشاء خط سير الرحلة",
302
  "trip_details": "تفاصيل الرحلة",
303
  "origin": "المغادرة من",
@@ -769,7 +769,7 @@ with st.sidebar:
769
  st.markdown("""
770
  <div style="text-align: center; padding: 20px 0; margin-bottom: 20px; border-bottom: 1px solid #eaeaea;">
771
  <img src="https://img.icons8.com/fluency/96/travel-card.png" width="80" style="margin-bottom: 15px;">
772
- <h3 style="margin-bottom: 5px; color: #4361ee;">Globetrotter AI: Your AI Agent for Travelling</h3>
773
  <p style="color: #6c757d; font-size: 0.9rem;">AI-Powered Travel Planning</p>
774
  </div>
775
  """, unsafe_allow_html=True)
@@ -1170,32 +1170,4 @@ if st.session_state.generation_complete:
1170
  </div>
1171
  """, unsafe_allow_html=True)
1172
 
1173
- st.markdown("""
1174
- <div style="margin-top: 50px; border-top: 1px solid #e9ecef; padding: 30px 0; color: #6c757d;">
1175
- <div style="display: flex; justify-content: space-between; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; padding: 0 20px;">
1176
- <div style="flex: 1; min-width: 200px; margin-bottom: 20px;">
1177
- <h4 style="color: #4361ee; margin-bottom: 15px;">Globetrotter AI: Your AI Agent for Travelling</h4>
1178
- <p>AI-powered travel planning made easy. Create personalized itineraries for your dream destinations.</p>
1179
- </div>
1180
- <div style="flex: 1; min-width: 200px; margin-bottom: 20px;">
1181
- <h4 style="color: #4361ee; margin-bottom: 15px;">Quick Links</h4>
1182
- <ul style="list-style: none; padding: 0;">
1183
- <li style="margin-bottom: 8px;">About</li>
1184
- <li style="margin-bottom: 8px;">Travel Guides</li>
1185
- <li style="margin-bottom: 8px;">FAQs</li>
1186
- <li style="margin-bottom: 8px;">Contact Us</li>
1187
- </ul>
1188
- </div>
1189
- <div style="flex: 1; min-width: 200px; margin-bottom: 20px;">
1190
- <h4 style="color: #4361ee; margin-bottom: 15px;">Connect</h4>
1191
- <p>Stay updated with our latest travel guides and features.</p>
1192
- <div style="margin-top: 15px;">
1193
- <span>🐰 🐿 🐸 🦉</span>
1194
- </div>
1195
- </div>
1196
- </div>
1197
- <div style="text-align: center; margin-top: 30px;">
1198
- <p>Built with ❤️ for You</p>
1199
- </div>
1200
- </div>
1201
- """, unsafe_allow_html=True)
 
12
 
13
  # st.set_page_config()는 다른 Streamlit 함수보다 가장 먼저 실행되어야 합니다.
14
  st.set_page_config(
15
+ page_title="Your AI Agent for Travelling",
16
  page_icon="✈️",
17
  layout="wide",
18
  initial_sidebar_state="expanded"
 
23
  # ------------------------------------------
24
  translations = {
25
  "en": {
26
+ "page_title": "Your AI Agent for Travelling",
27
+ "header": "Your AI Agent for Travelling",
28
  "create_itinerary": "Create Your Itinerary",
29
  "trip_details": "Trip Details",
30
  "origin": "Origin",
 
62
  "text_format": "Text format - Can be opened in any text editor"
63
  },
64
  "ko": {
65
+ "page_title": "당신의 여행을 위한 AI 에이전트",
66
+ "header": "당신의 여행을 위한 AI 에이전트",
67
  "create_itinerary": "여행 일정 생성",
68
  "trip_details": "여행 세부 정보",
69
  "origin": "출발지",
 
101
  "text_format": "텍스트 형식 - 모든 텍스트 편집기에서 열 수 있습니다."
102
  },
103
  "ja": {
104
+ "page_title": "あなたの旅行のためのAIエージェント",
105
+ "header": "あなたの旅行のためのAIエージェント",
106
  "create_itinerary": "旅行プラン作成",
107
  "trip_details": "旅行詳細",
108
  "origin": "出発地",
 
140
  "text_format": "テキスト形式 - 任意のテキストエディタで開けます。"
141
  },
142
  "zh": {
143
+ "page_title": "您的旅行 AI 代理",
144
+ "header": "您的旅行 AI 代理",
145
  "create_itinerary": "创建您的行程",
146
  "trip_details": "旅行详情",
147
  "origin": "出发地",
 
179
  "text_format": "文本格式 - 可在任何文本编辑器中打开。"
180
  },
181
  "es": {
182
+ "page_title": " Tu Agente de IA para Viajar",
183
+ "header": " Tu Agente de IA para Viajar",
184
  "create_itinerary": "Crea Tu Itinerario",
185
  "trip_details": "Detalles del Viaje",
186
  "origin": "Origen",
 
218
  "text_format": "Formato de texto - Se puede abrir en cualquier editor de texto."
219
  },
220
  "fr": {
221
+ "page_title": " Votre Agent IA pour Voyager",
222
+ "header": " Votre Agent IA pour Voyager",
223
  "create_itinerary": "Créez Votre Itinéraire",
224
  "trip_details": "Détails du Voyage",
225
  "origin": "Origine",
 
257
  "text_format": "Format texte - Peut être ouvert dans n'importe quel éditeur de texte."
258
  },
259
  "de": {
260
+ "page_title": "Ihr KI-Reiseassistent",
261
+ "header": " Ihr KI-Reiseassistent",
262
  "create_itinerary": "Erstellen Sie Ihre Reiseroute",
263
  "trip_details": "Reisedetails",
264
  "origin": "Abfahrtsort",
 
296
  "text_format": "Textformat – Kann in jedem Texteditor geöffnet werden."
297
  },
298
  "ar": {
299
+ "page_title": " وكيل السفر الذكي الخاص بك",
300
+ "header": " وكيل السفر الذكي الخاص بك",
301
  "create_itinerary": "إنشاء خط سير الرحلة",
302
  "trip_details": "تفاصيل الرحلة",
303
  "origin": "المغادرة من",
 
769
  st.markdown("""
770
  <div style="text-align: center; padding: 20px 0; margin-bottom: 20px; border-bottom: 1px solid #eaeaea;">
771
  <img src="https://img.icons8.com/fluency/96/travel-card.png" width="80" style="margin-bottom: 15px;">
772
+ <h3 style="margin-bottom: 5px; color: #4361ee;">Your AI Agent for Travelling</h3>
773
  <p style="color: #6c757d; font-size: 0.9rem;">AI-Powered Travel Planning</p>
774
  </div>
775
  """, unsafe_allow_html=True)
 
1170
  </div>
1171
  """, unsafe_allow_html=True)
1172
 
1173
+