Spaces:
Running
Running
Commit
·
ae20966
1
Parent(s):
719f1e3
Upgrade PIP
Browse files
app.py
CHANGED
@@ -4,7 +4,8 @@ import time
|
|
4 |
import os
|
5 |
|
6 |
def start_server():
|
7 |
-
os.system("
|
|
|
8 |
os.system("uvicorn InferenceServer:app --port 8080 --host 0.0.0.0 --workers 1")
|
9 |
|
10 |
def load_models():
|
|
|
4 |
import os
|
5 |
|
6 |
def start_server():
|
7 |
+
os.system("!python -m pip install -qq --upgrade pip")
|
8 |
+
os.system("cat custom_req.txt | xargs -n 1 -L 1 pip install -U")
|
9 |
os.system("uvicorn InferenceServer:app --port 8080 --host 0.0.0.0 --workers 1")
|
10 |
|
11 |
def load_models():
|