Spaces:
Runtime error
Runtime error
π Quick Start: Deploy ML-Sharp in 5 Minutes
Step 1: Create Your Space (2 minutes)
- Go to https://huggingface.co/new-space
- Fill in:
- Name:
mlsharp-2d-to-3d - SDK: Select Docker
- Hardware: CPU Basic (Free)
- Name:
- Click Create Space
Step 2: Upload Files (1 minute)
In your Space:
- Click Files β Add file β Upload files
- Upload ALL files from
huggingface-deploymentfolder:- β
app.py - β
requirements.txt - β
README.md - β
Dockerfile
- β
- Click Commit changes
Step 3: Wait for Build (5-10 minutes)
- Watch the Logs tab
- Wait for "Running" status
Step 4: Update Your App (30 seconds)
Copy your Space URL:
https://YOUR-USERNAME-mlsharp-2d-to-3d.hf.space
Update .env.local:
VITE_MLSHARP_API_URL=https://YOUR-USERNAME-mlsharp-2d-to-3d.hf.space
β Done!
Your app now has a permanent, always-on API for 2D to 3D conversion!
Test It
curl https://YOUR-USERNAME-mlsharp-2d-to-3d.hf.space/
Should return:
{
"status": "ML-Sharp Backend is Running",
"version": "1.0.0"
}
Full instructions: See DEPLOYMENT_INSTRUCTIONS.md