Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ import gradio as gr
|
|
| 4 |
import os
|
| 5 |
#os.system("sudo apt-get install nvIDia-cuda-toolkit")
|
| 6 |
os.system("pip3 install torch")
|
|
|
|
| 7 |
os.system("pip3 install collections")
|
| 8 |
os.system("pip3 install torchvision")
|
| 9 |
os.system("pip3 install einops")
|
|
|
|
| 4 |
import os
|
| 5 |
#os.system("sudo apt-get install nvIDia-cuda-toolkit")
|
| 6 |
os.system("pip3 install torch")
|
| 7 |
+
os.system("/usr/local/bin/python -m pip install --upgrade pip")
|
| 8 |
os.system("pip3 install collections")
|
| 9 |
os.system("pip3 install torchvision")
|
| 10 |
os.system("pip3 install einops")
|