Spaces:
Runtime error
Runtime error
Commit ·
5b95dc8
1
Parent(s): d9450d8
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,14 @@
|
|
| 1 |
import torch
|
| 2 |
import gradio as gr
|
| 3 |
import os
|
|
|
|
|
|
|
| 4 |
os.system('pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 -f https://download.pytorch.org/whl/torch_stable.html')
|
| 5 |
os.system('pip install git+https://github.com/openai/CLIP.git')
|
| 6 |
os.system('git clone https://github.com/BachiLi/diffvg')
|
|
|
|
| 7 |
os.system('cd diffvg')
|
|
|
|
| 8 |
os.system('git submodule update --init --recursive')
|
| 9 |
os.system('python setup.py install')
|
| 10 |
os.system('cd ..')
|
|
|
|
| 1 |
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.system('cd diffvg')
|
| 11 |
+
os.system('ls')
|
| 12 |
os.system('git submodule update --init --recursive')
|
| 13 |
os.system('python setup.py install')
|
| 14 |
os.system('cd ..')
|