Spaces:
Runtime error
Runtime error
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
|
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 GrammarTokenize:app --port 8080 --host 0.0.0.0 --workers 2")
|
19 |
|
20 |
def load_models():
|
21 |
if not is_port_in_use(8080):
|