--- title: AI Tutor β€” Study / Review emoji: πŸŽ“ colorFrom: gray colorTo: blue sdk: streamlit sdk_version: "1.37.1" # ε’Œδ½ ηš„ requirements ι‡Œ streamlit η‰ˆζœ¬δΈ€θ‡΄ζˆ–η•₯低 app_file: src/streamlit_app.py # δ½ ηš„ε…₯ε£ζ–‡δ»ΆεοΌ›ε¦‚ζžœδΈζ˜― app.py ε°±ζ”Ήζˆε―ΉεΊ”εε­— pinned: false --- # GitHub Tutor (GPT-5) β€” Hackathon Space ## How to run locally ```bash pip install -r requirements.txt $env:AIML_API_KEY="8b7b1b6b0f3143448bb1374e243e7091" streamlit run app.py ``` ## Deploy to Hugging Face Spaces 1. Create account β†’ New Space β†’ **SDK: Streamlit**. 2. Upload `app.py`, `requirements.txt`, `questions.json`. 3. In Space β†’ **Settings β†’ Variables and secrets**: - Add `OPENAI_API_KEY` with your GPT-5 key. 4. Click **Restart** if needed; open the app URL. ## Notes - The file system is ephemeral. Summaries are kept in session only (demo-friendly). - Edit `questions.json` to add/remove problems for the demo.