Spaces:
Running
Running
Commit
·
3ae112d
1
Parent(s):
2d01c5f
Updated scale
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 2")
|
| 19 |
|
| 20 |
def load_models():
|
| 21 |
if not is_port_in_use(8080):
|