Spaces:
Sleeping
Sleeping
Update app.py
Browse files175 unmodified lines176177178179180181182183184185186187188189190191192193194175 unmodified lines
except Exception as e: st.error(f"❌ خطأ في قراءة الملف: {e}")import os
# زر لتحميل ملف قاعدة البيانات - يظهر دائمًاif os.path.exists("complaints_system.db"): with open("complaints_system.db", "rb") as db_file: st.download_button( label="📥 تحميل complaints_system.db", data=db_file, file_name="complaints_system.db", mime="application/octet-stream" )else: st.warning("⚠️ ملف قاعدة البيانات غير موجود في هذا المسار.")
app.py+14