Spaces:
Sleeping
Sleeping
Update client/pages/user__mealplan.py
Browse files
client/pages/user__mealplan.py
CHANGED
@@ -149,7 +149,7 @@ def mealplan():
|
|
149 |
# 📤 Exportation du planning en CSV
|
150 |
if st.download_button(
|
151 |
label="📥 Exporter en CSV",
|
152 |
-
data=df.to_csv(index=False,sep=";").encode('utf-8'),
|
153 |
file_name="meal_plan.csv",
|
154 |
mime="text/csv"):
|
155 |
st.success("✅ Plan exporté en CSV avec succès !")
|
|
|
149 |
# 📤 Exportation du planning en CSV
|
150 |
if st.download_button(
|
151 |
label="📥 Exporter en CSV",
|
152 |
+
data=df.to_csv(index=False,sep=";").encode('utf-8-sig'),
|
153 |
file_name="meal_plan.csv",
|
154 |
mime="text/csv"):
|
155 |
st.success("✅ Plan exporté en CSV avec succès !")
|