Update entrypoint.sh
Browse files- entrypoint.sh +3 -0
entrypoint.sh
CHANGED
|
@@ -16,5 +16,8 @@ ollama run hf.co/abanm/Dubs-Q8_0-GGUF &
|
|
| 16 |
# Navigate to the application directory
|
| 17 |
cd /app
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
# Start the FastAPI app using Uvicorn
|
| 20 |
uvicorn app:app --host 0.0.0.0 --port 7860
|
|
|
|
| 16 |
# Navigate to the application directory
|
| 17 |
cd /app
|
| 18 |
|
| 19 |
+
|
| 20 |
+
curl http://localhost:11434/api/generate -d '{"model": "hf.co/abanm/Dubs-Q8_0-GGUF:latest", "keep_alive": -1}'
|
| 21 |
+
|
| 22 |
# Start the FastAPI app using Uvicorn
|
| 23 |
uvicorn app:app --host 0.0.0.0 --port 7860
|