Spaces:
Sleeping
Sleeping
π― Quick Deploy - 3 Simple Steps
β Your Setup
- Models:
anis80/anisprojecton HuggingFace β - Backend: Ready to deploy (downloads models automatically)
- Frontend: Ready for Vercel
π Deploy in 3 Steps
Step 1: Push to GitHub (2 min)
cd e:\anis
git remote add origin https://github.com/YOUR_USERNAME/sentiment-backend.git
git branch -M main
git push -u origin main
Step 2: Deploy Backend (3 min)
Option A - Render (Recommended):
- https://render.com β Sign up with GitHub
- New Web Service β Select your repo
- Start:
uvicorn app:app --host 0.0.0.0 --port $PORT - Plan: Free β Deploy
Option B - HuggingFace:
git remote add hf https://huggingface.co/spaces/anis80/sentiment-api
git push hf main
Step 3: Deploy Frontend (2 min)
- Update
index.htmllines 72-73 with your backend URL - Push to GitHub
- https://vercel.com β Import repo β Deploy
β Test
- Backend:
https://YOUR_URL/docs - Frontend: Enter text β Click Analyze β See result!
Total Time: ~7 minutes | Cost: $0/month π
See final_deployment.md for detailed instructions.