Download CMD.bash from embedingHF/test_model: direct link, hf CLI and curl.
- Browser
- Download file 401 Bytes
-
https://huggingface.co/embedingHF/test_model/resolve/main/CMD.bash
- Command line
-
hf download hf://embedingHF/test_model/CMD.bash
-
curl -L -o CMD.bash https://huggingface.co/embedingHF/test_model/resolve/main/CMD.bash
401 Bytes
| # 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 |