Hadeeratef91 commited on
Commit
4aec0d6
·
verified ·
1 Parent(s): ffe9c0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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()