Spaces:
Runtime error
Runtime error
yaelvinker
commited on
Commit
•
1c932d0
1
Parent(s):
5b95dc8
Update app.py
Browse files
app.py
CHANGED
@@ -2,12 +2,16 @@ import torch
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
|
|
|
|
|
|
|
|
5 |
os.system('ls')
|
6 |
os.system('pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 -f https://download.pytorch.org/whl/torch_stable.html')
|
7 |
os.system('pip install git+https://github.com/openai/CLIP.git')
|
8 |
os.system('git clone https://github.com/BachiLi/diffvg')
|
9 |
os.system('ls')
|
10 |
-
os.
|
11 |
os.system('ls')
|
12 |
os.system('git submodule update --init --recursive')
|
13 |
os.system('python setup.py install')
|
|
|
2 |
import gradio as gr
|
3 |
import os
|
4 |
|
5 |
+
path = os.getcwd()
|
6 |
+
|
7 |
+
print(path)
|
8 |
+
|
9 |
os.system('ls')
|
10 |
os.system('pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 -f https://download.pytorch.org/whl/torch_stable.html')
|
11 |
os.system('pip install git+https://github.com/openai/CLIP.git')
|
12 |
os.system('git clone https://github.com/BachiLi/diffvg')
|
13 |
os.system('ls')
|
14 |
+
os.chdir('diffvg')
|
15 |
os.system('ls')
|
16 |
os.system('git submodule update --init --recursive')
|
17 |
os.system('python setup.py install')
|