Update main2.py
Browse files
main2.py
CHANGED
|
@@ -193,6 +193,7 @@ def wget_download():
|
|
| 193 |
|
| 194 |
def pip_download():
|
| 195 |
start_time = time.time()
|
|
|
|
| 196 |
subprocess.run("pip install xformers==0.0.26.post1 --index-url https://download.pytorch.org/whl/cu121", shell=True)
|
| 197 |
subprocess.run("pip install mediapipe svglib fvcore opencv-python>=4.8.0 PyExecJS pathos openai boto3 aliyun-python-sdk-core aliyun-python-sdk-alimt", shell=True)
|
| 198 |
for root, dirs, files in os.walk(f"{params['dir']}/extensions"):
|
|
|
|
| 193 |
|
| 194 |
def pip_download():
|
| 195 |
start_time = time.time()
|
| 196 |
+
subprocess.run("pip install pip==24.0.0", shell=True)
|
| 197 |
subprocess.run("pip install xformers==0.0.26.post1 --index-url https://download.pytorch.org/whl/cu121", shell=True)
|
| 198 |
subprocess.run("pip install mediapipe svglib fvcore opencv-python>=4.8.0 PyExecJS pathos openai boto3 aliyun-python-sdk-core aliyun-python-sdk-alimt", shell=True)
|
| 199 |
for root, dirs, files in os.walk(f"{params['dir']}/extensions"):
|