# Manual Update Instructions for HuggingFace Space Since git push is timing out, you can update the files manually on HuggingFace. ## Files to Update ### 1. backend/static/pages/login.html **Go to:** https://huggingface.co/spaces/TalimBot/talimbot/blob/main/backend/static/pages/login.html **Click "Edit" button, then find and replace these sections:** **CHANGE 1 (around line 90):** Find: ```html
کد ملی ۱۰ رقمی خود را وارد کنید
``` Replace with: ```htmlکد ملی خود را بدون صفر ابتدایی وارد کنید
``` **CHANGE 2 (around line 207):** Find: ```javascript if (selectedRole === 'student') { let nationalCode = document.getElementById('nationalCode').value.trim(); if (!nationalCode) { showError('لطفاً کد ملی خود را وارد کنید'); return; } if (nationalCode.length !== 10) { showError('کد ملی باید ۱۰ رقم باشد'); return; } // Remove leading zero if present if (nationalCode.startsWith('0')) { nationalCode = nationalCode.substring(1); } ``` Replace with: ```javascript if (selectedRole === 'student') { let nationalCode = document.getElementById('nationalCode').value.trim(); if (!nationalCode) { showError('لطفاً کد ملی خود را وارد کنید'); return; } // Check if starts with zero and show warning if (nationalCode.startsWith('0')) { showError('لطفاً صفر ابتدایی را از کد ملی حذف کنید'); return; } // No length restriction - just check if it matches a student in database ``` **Then click "Commit changes to main"** --- ### 2. backend/static/pages/group-view.html **Go to:** https://huggingface.co/spaces/TalimBot/talimbot/blob/main/backend/static/pages/group-view.html **Click "Edit" button, then find and replace this section:** **CHANGE (around line 379):** Find: ```html