Spaces:
Runtime error
Runtime error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +7 -9
src/streamlit_app.py
CHANGED
|
@@ -20,7 +20,7 @@ def load_data():
|
|
| 20 |
|
| 21 |
df = load_data()
|
| 22 |
|
| 23 |
-
# --- SIDEBAR (SOL PANEL) -
|
| 24 |
with st.sidebar:
|
| 25 |
st.header("📊 Analysis Notes / Analiz Notları")
|
| 26 |
|
|
@@ -34,9 +34,7 @@ with st.sidebar:
|
|
| 34 |
|
| 35 |
st.subheader("🔍 What are GDP Levels? / GDP Seviyeleri Nedir?")
|
| 36 |
|
| 37 |
-
#
|
| 38 |
-
|
| 39 |
-
# HIGH (İngilizce & Türkçe)
|
| 40 |
high_list = "USA, China, Japan, Germany"
|
| 41 |
st.markdown(f"""
|
| 42 |
**🔴 High (Yüksek):** * **EN:** Global economic leaders with massive industrial output.
|
|
@@ -46,7 +44,7 @@ with st.sidebar:
|
|
| 46 |
|
| 47 |
st.write("") # Boşluk
|
| 48 |
|
| 49 |
-
# MEDIUM (İngilizce & Türkçe)
|
| 50 |
med_list = "Turkey, Argentina, Poland, Thailand"
|
| 51 |
st.markdown(f"""
|
| 52 |
**🟡 Medium (Orta):** * **EN:** Transitioning economies with growing industries.
|
|
@@ -56,7 +54,7 @@ with st.sidebar:
|
|
| 56 |
|
| 57 |
st.write("") # Boşluk
|
| 58 |
|
| 59 |
-
# LOW (İngilizce & Türkçe)
|
| 60 |
low_list = "Afghanistan, Gambia, Andorra, Belize"
|
| 61 |
st.markdown(f"""
|
| 62 |
**🟢 Low (Düşük):** * **EN:** Developing nations with smaller economies.
|
|
@@ -64,8 +62,8 @@ with st.sidebar:
|
|
| 64 |
* **Examples/Örnekler:** **{low_list}**
|
| 65 |
""")
|
| 66 |
|
| 67 |
-
# --- ANA PANEL ---
|
| 68 |
-
st.title("🌍 World Data Analysis Dashboard")
|
| 69 |
st.caption("Veri Analizi ve Görselleştirme / Data Analysis and Visualization")
|
| 70 |
st.divider()
|
| 71 |
|
|
@@ -101,4 +99,4 @@ with col2:
|
|
| 101 |
hole=0.3)
|
| 102 |
st.plotly_chart(fig_pie, use_container_width=True)
|
| 103 |
|
| 104 |
-
st.write("✅
|
|
|
|
| 20 |
|
| 21 |
df = load_data()
|
| 22 |
|
| 23 |
+
# --- SIDEBAR (SOL PANEL) - TÜMÜ ÇİFT DİL VE NET ---
|
| 24 |
with st.sidebar:
|
| 25 |
st.header("📊 Analysis Notes / Analiz Notları")
|
| 26 |
|
|
|
|
| 34 |
|
| 35 |
st.subheader("🔍 What are GDP Levels? / GDP Seviyeleri Nedir?")
|
| 36 |
|
| 37 |
+
# HIGH (İngilizce & Türkçe & Örnekler)
|
|
|
|
|
|
|
| 38 |
high_list = "USA, China, Japan, Germany"
|
| 39 |
st.markdown(f"""
|
| 40 |
**🔴 High (Yüksek):** * **EN:** Global economic leaders with massive industrial output.
|
|
|
|
| 44 |
|
| 45 |
st.write("") # Boşluk
|
| 46 |
|
| 47 |
+
# MEDIUM (İngilizce & Türkçe & Örnekler)
|
| 48 |
med_list = "Turkey, Argentina, Poland, Thailand"
|
| 49 |
st.markdown(f"""
|
| 50 |
**🟡 Medium (Orta):** * **EN:** Transitioning economies with growing industries.
|
|
|
|
| 54 |
|
| 55 |
st.write("") # Boşluk
|
| 56 |
|
| 57 |
+
# LOW (İngilizce & Türkçe & Örnekler)
|
| 58 |
low_list = "Afghanistan, Gambia, Andorra, Belize"
|
| 59 |
st.markdown(f"""
|
| 60 |
**🟢 Low (Düşük):** * **EN:** Developing nations with smaller economies.
|
|
|
|
| 62 |
* **Examples/Örnekler:** **{low_list}**
|
| 63 |
""")
|
| 64 |
|
| 65 |
+
# --- ANA PANEL BAŞLIK (GÜNCELLENDİ) ---
|
| 66 |
+
st.title("🌍 World Data Analysis Dashboard / Dünya Veri Analizi Paneli")
|
| 67 |
st.caption("Veri Analizi ve Görselleştirme / Data Analysis and Visualization")
|
| 68 |
st.divider()
|
| 69 |
|
|
|
|
| 99 |
hole=0.3)
|
| 100 |
st.plotly_chart(fig_pie, use_container_width=True)
|
| 101 |
|
| 102 |
+
st.write("✅ Project completed. / Proje tamamlandı.")
|