Upload run_api.bat with huggingface_hub
Browse files- run_api.bat +4 -0
run_api.bat
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@echo off
|
| 2 |
+
cd /d "%~dp0"
|
| 3 |
+
start "ICMR+HITEK API" /min "C:\Users\Administrator\Desktop\icmr\.venv\Scripts\python.exe" -m uvicorn main:app --host 127.0.0.1 --port 8001 --workers 1 > api.log 2>&1
|
| 4 |
+
echo API starting on http://127.0.0.1:8001 ... log: api.log
|