Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -990,16 +990,14 @@ def welcome_page():
|
|
| 990 |
|
| 991 |
def scenario_explanation():
|
| 992 |
"""توضیح سناریو"""
|
| 993 |
-
col1, col2 = st.columns([1, 4])
|
| 994 |
with col1:
|
|
|
|
| 995 |
try:
|
| 996 |
-
st.
|
| 997 |
-
<div style="margin-left: 30px;">
|
| 998 |
-
<img src="rahyar.png" width="80">
|
| 999 |
-
</div>
|
| 1000 |
-
""", unsafe_allow_html=True)
|
| 1001 |
except:
|
| 1002 |
st.image("https://via.placeholder.com/80/6a0dad/FFFFFF?text=LOGO", width=80)
|
|
|
|
| 1003 |
with col2:
|
| 1004 |
st.markdown("""
|
| 1005 |
<h2 class="rahyar-title">رهیار 🚖</h2>
|
|
@@ -1021,17 +1019,14 @@ def scenario_explanation():
|
|
| 1021 |
st.rerun()
|
| 1022 |
|
| 1023 |
def map_view():
|
| 1024 |
-
|
| 1025 |
-
col1, col2 = st.columns([1, 4])
|
| 1026 |
with col1:
|
|
|
|
| 1027 |
try:
|
| 1028 |
-
st.
|
| 1029 |
-
<div style="margin-left: 30px;">
|
| 1030 |
-
<img src="rahyar.png" width="80">
|
| 1031 |
-
</div>
|
| 1032 |
-
""", unsafe_allow_html=True)
|
| 1033 |
except:
|
| 1034 |
st.image("https://via.placeholder.com/80/6a0dad/FFFFFF?text=LOGO", width=80)
|
|
|
|
| 1035 |
with col2:
|
| 1036 |
st.markdown("""
|
| 1037 |
<h2 style="color: #6a0dad; margin: 0;">رهیار 🚖</h2>
|
|
|
|
| 990 |
|
| 991 |
def scenario_explanation():
|
| 992 |
"""توضیح سناریو"""
|
| 993 |
+
col1, col2 = st.columns([1.2, 4]) # افزایش نسبت ستون اول
|
| 994 |
with col1:
|
| 995 |
+
st.markdown('<div style="padding-right: 25px;">', unsafe_allow_html=True)
|
| 996 |
try:
|
| 997 |
+
st.image("rahyar.png", width=80)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 998 |
except:
|
| 999 |
st.image("https://via.placeholder.com/80/6a0dad/FFFFFF?text=LOGO", width=80)
|
| 1000 |
+
st.markdown('</div>', unsafe_allow_html=True)
|
| 1001 |
with col2:
|
| 1002 |
st.markdown("""
|
| 1003 |
<h2 class="rahyar-title">رهیار 🚖</h2>
|
|
|
|
| 1019 |
st.rerun()
|
| 1020 |
|
| 1021 |
def map_view():
|
| 1022 |
+
col1, col2 = st.columns([1.2, 4]) # افزایش نسبت ستون اول
|
|
|
|
| 1023 |
with col1:
|
| 1024 |
+
st.markdown('<div style="padding-right: 25px;">', unsafe_allow_html=True)
|
| 1025 |
try:
|
| 1026 |
+
st.image("rahyar.png", width=80)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1027 |
except:
|
| 1028 |
st.image("https://via.placeholder.com/80/6a0dad/FFFFFF?text=LOGO", width=80)
|
| 1029 |
+
st.markdown('</div>', unsafe_allow_html=True)
|
| 1030 |
with col2:
|
| 1031 |
st.markdown("""
|
| 1032 |
<h2 style="color: #6a0dad; margin: 0;">رهیار 🚖</h2>
|