Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,8 @@ if "last_seen_count" not in st.session_state:
|
|
| 31 |
# تحميل بيانات المستخدمين
|
| 32 |
users_file = "users.csv"
|
| 33 |
if os.path.exists(users_file):
|
| 34 |
-
users_df = pd.read_csv(users_file)
|
|
|
|
| 35 |
else:
|
| 36 |
st.error("⚠️ ملف المستخدمين غير موجود!")
|
| 37 |
st.stop()
|
|
|
|
| 31 |
# تحميل بيانات المستخدمين
|
| 32 |
users_file = "users.csv"
|
| 33 |
if os.path.exists(users_file):
|
| 34 |
+
users_df = pd.read_csv(users_file, encoding='utf-8-sig')
|
| 35 |
+
|
| 36 |
else:
|
| 37 |
st.error("⚠️ ملف المستخدمين غير موجود!")
|
| 38 |
st.stop()
|