Spaces:
Configuration error
Configuration error
Create README.md
Browse files
README.md
CHANGED
|
@@ -1,13 +1,51 @@
|
|
| 1 |
-
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
title: Curriculum Assistantemoji: 📚colorFrom: bluecolorTo: greensdk: gradiosdk_version: 4.31.0python_version: 3.10
|
| 3 |
+
Curriculum Assistant / نصابی اسسٹنٹ
|
| 4 |
+
A web app for K-12 teachers to create lesson plans, flashcards, and worksheets based on curriculum PDFs with Student Learning Outcomes (SLOs). It supports the BOPPPS and Backward Design models, offers multilingual (English/Urdu) support, and generates downloadable Microsoft Word (.docx) files. Built using Python, Gradio, and Hugging Face models.
|
| 5 |
+
How to Use / استعمال کا طریقہ
|
| 6 |
+
|
| 7 |
+
Upload PDF / پی ڈی ایف اپ لوڈ کریں: Upload a Grade 1–12 curriculum PDF containing SLOs (e.g., “Grade 6 Science: Students will understand the basic cell structure”).
|
| 8 |
+
Fill Form / فارم پُر کریں: Select grade (1–12), subject (Math, Science, etc.), topic (e.g., Photosynthesis), specific SLO (optional), and lesson duration (30, 45, or 60 minutes).
|
| 9 |
+
Choose Output / آؤٹ پٹ منتخب کریں: Pick Lesson Plan (BOPPPS or Backward Design), Flashcards, or Worksheet.
|
| 10 |
+
Generate / بنائیں: Click the “Generate” button to create your content.
|
| 11 |
+
Download / ڈاؤن لوڈ کریں: Download the output as a Microsoft Word (.docx) file.
|
| 12 |
+
|
| 13 |
+
Sample Query / نمونہ سوال
|
| 14 |
+
|
| 15 |
+
“Generate a Grade 6 Math worksheet on fractions / گریڈ 6 ریاضی کی ورک شیٹ بنائیں جو کسر پر ہو۔”
|
| 16 |
+
“Create a Grade 4 English BOPPPS lesson plan on nouns / گریڈ 4 انگریزی کا BOPPPS سبق پلان بنائیں جو اسم پر ہو۔”
|
| 17 |
+
|
| 18 |
+
Setup Instructions / ترتیب دینے کے ہدایات
|
| 19 |
+
|
| 20 |
+
Create a Space / اسپیس بنائیں:
|
| 21 |
+
Go to Hugging Face Spaces.
|
| 22 |
+
Click “Create new Space.”
|
| 23 |
+
Select Gradio as the SDK, choose Public or Private, and pick Free CPU hardware.
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
Upload Files / فائلیں اپ لوڈ کریں:
|
| 27 |
+
Upload app.py, requirements.txt, README.md, and sample_curriculum.txt via the Files tab or Git.
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
Set Secrets / راز ترتیب دیں:
|
| 31 |
+
In Space Settings, add HF_TOKEN (your Hugging Face access token) under Repository Secrets.
|
| 32 |
+
Optionally, add GROK_API_KEY if using the Grok API (not required for this app).
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
Build and Test / بنائیں اور ٹیسٹ کریں:
|
| 36 |
+
Hugging Face will build the app automatically after uploading files.
|
| 37 |
+
Check Logs for errors (e.g., missing dependencies).
|
| 38 |
+
Access the app at https://<your-username>-<space-name>.hf.space.
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
Troubleshooting / مسائل کا حل
|
| 43 |
+
|
| 44 |
+
No Text in PDF / پی ڈی ایف میں متن نہیں: Ensure the PDF has text or is not corrupted. For scanned PDFs, the app uses OCR (requires Tesseract).
|
| 45 |
+
Library Errors / لائبریری کی خرابیاں: Verify all dependencies are listed in requirements.txt.
|
| 46 |
+
Token Issues / ٹوکن کے مسائل: Ensure HF_TOKEN is valid and set in Secrets.
|
| 47 |
+
Build Fails / بنانے میں ناکامی: Check Logs for details and ensure app.py and requirements.txt are correct.
|
| 48 |
+
|
| 49 |
+
Feedback / رائے
|
| 50 |
+
Use the feedback box in the app to report issues or suggest improvements / ایپ میں فیڈبیک باکس استعمال کریں تاکہ مسائل کی اطلاع دیں یا بہتری کے لیے تجاویز دیں۔
|
| 51 |
+
Built with ❤️ by xAI
|