Spaces:
Runtime error
Runtime error
Commit
·
1fb0b3b
1
Parent(s):
d8404d9
fix
Browse files
app.py
CHANGED
|
@@ -81,7 +81,7 @@ for i, option in enumerate(options):
|
|
| 81 |
|
| 82 |
arabic_options = [e.split("/")[1] for e in selected_options]
|
| 83 |
df['id'] = df.index
|
| 84 |
-
filtered_df = df[df['
|
| 85 |
selected_headers = [headers_mapping[request] for request in arabic_options]
|
| 86 |
#st.subheader(", ".join(selected_headers))
|
| 87 |
|
|
@@ -98,7 +98,7 @@ m = folium.Map(
|
|
| 98 |
|
| 99 |
|
| 100 |
for index, row in filtered_df.iterrows():
|
| 101 |
-
request_type = row['
|
| 102 |
#phone = row["رقم الهاتف (اختياري)"] if not pd.isna(row["رقم الهاتف (اختياري)"]) else ""
|
| 103 |
|
| 104 |
# Formatted text using HTML
|
|
|
|
| 81 |
|
| 82 |
arabic_options = [e.split("/")[1] for e in selected_options]
|
| 83 |
df['id'] = df.index
|
| 84 |
+
filtered_df = df[df['ما هي احتياجاتك؟ (أضفها إذا لم يتم ذكرها)'].isin(arabic_options)]
|
| 85 |
selected_headers = [headers_mapping[request] for request in arabic_options]
|
| 86 |
#st.subheader(", ".join(selected_headers))
|
| 87 |
|
|
|
|
| 98 |
|
| 99 |
|
| 100 |
for index, row in filtered_df.iterrows():
|
| 101 |
+
request_type = row['ما هي احتياجاتك؟ (أضفها إذا لم يتم ذكرها)']
|
| 102 |
#phone = row["رقم الهاتف (اختياري)"] if not pd.isna(row["رقم الهاتف (اختياري)"]) else ""
|
| 103 |
|
| 104 |
# Formatted text using HTML
|