File size: 401 Bytes
4225683
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14

# 2. Virtual environment (recommended)
python -m venv venv
source venv/bin/activate  # Linux/Mac
# venv\Scripts\activate   # Windows

# 3. Install dependencies
pip install -r requirements.txt

# 4. Model load karo (pehli baar thoda time lagega)
python -c "from model import model_instance; print('Model ready')"

# 5. Server start karo
uvicorn app:app --reload --host 0.0.0.0 --port 8000