File size: 867 Bytes
667bab7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | # Lao Python Learning Platform - Deployment Guide
## Quick Deploy to Hugging Face Spaces
### Option 1: Command Line (Recommended)
```bash
# Login to Hugging Face
huggingface-cli login
# Create new space
huggingface-cli repo create lao-python-learn --type space --space-sdk gradio
# Upload files
cd /home/bounthong/elearning-python/lao-python-learn
huggingface-cli upload bounthong/lao-python-learn . --repo-type space
```
### Option 2: Web Interface
1. Go to https://huggingface.co/spaces
2. Click "Create new Space"
3. Name: `lao-python-learn`
4. SDK: Gradio
5. Copy these files:
- `app.py`
- `requirements.txt`
---
## Files Needed
- `app.py` - Main application (already created)
- `requirements.txt` - Dependencies (already created)
## Access URL
After deployment, access at:
```
https://huggingface.co/spaces/[YOUR_USERNAME]/lao-python-learn
```
|