Spaces:
Running
Running
Commit
·
b1957f2
1
Parent(s):
ae20966
Upgraded PIP
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import time
|
|
4 |
import os
|
5 |
|
6 |
def start_server():
|
7 |
-
os.system("
|
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 |
|
|
|
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 |
|