Spaces:
Runtime error
Runtime error
prithivida
commited on
Commit
•
2d01c5f
1
Parent(s):
2d50de5
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ import os
|
|
15 |
|
16 |
def start_server():
|
17 |
os.system("python3 -m spacy download en_core_web_sm")
|
18 |
-
os.system("uvicorn InferenceServer:app --port 8080 --host 0.0.0.0 --workers
|
19 |
|
20 |
def load_models():
|
21 |
if not is_port_in_use(8080):
|
|
|
15 |
|
16 |
def start_server():
|
17 |
os.system("python3 -m spacy download en_core_web_sm")
|
18 |
+
os.system("uvicorn InferenceServer:app --port 8080 --host 0.0.0.0 --workers 3")
|
19 |
|
20 |
def load_models():
|
21 |
if not is_port_in_use(8080):
|