|
Download docs/deployment.md from boonthongvxy/lao-python-learn: direct link, hf CLI and curl.
- Browser
- Download file 867 Bytes
-
https://huggingface.co/spaces/boonthongvxy/lao-python-learn/resolve/main/docs/deployment.md
- Command line
-
hf download hf://spaces/boonthongvxy/lao-python-learn/docs/deployment.md
-
curl -L -o deployment.md https://huggingface.co/spaces/boonthongvxy/lao-python-learn/resolve/main/docs/deployment.md
867 Bytes
A newer version of the Gradio SDK is available: 6.32.0
Lao Python Learning Platform - Deployment Guide
Quick Deploy to Hugging Face Spaces
Option 1: Command Line (Recommended)
# 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
- Go to https://huggingface.co/spaces
- Click "Create new Space"
- Name:
lao-python-learn - SDK: Gradio
- Copy these files:
app.pyrequirements.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