Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
Β·
f621a37
1
Parent(s):
a9bed12
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
import os
|
2 |
-
os.system("pip install gradio==2.
|
3 |
os.system('pip freeze')
|
4 |
|
5 |
-
|
6 |
import torch
|
7 |
torch.hub.download_url_to_file('https://heibox.uni-heidelberg.de/d/a7530b09fed84f80a887/files/?p=%2Fconfigs%2Fmodel.yaml&dl=1', 'vqgan_imagenet_f16_16384.yaml')
|
8 |
torch.hub.download_url_to_file('https://heibox.uni-heidelberg.de/d/a7530b09fed84f80a887/files/?p=%2Fckpts%2Flast.ckpt&dl=1', 'vqgan_imagenet_f16_16384.ckpt')
|
|
|
1 |
import os
|
2 |
+
os.system("pip install gradio==2.4.6")
|
3 |
os.system('pip freeze')
|
4 |
|
|
|
5 |
import torch
|
6 |
torch.hub.download_url_to_file('https://heibox.uni-heidelberg.de/d/a7530b09fed84f80a887/files/?p=%2Fconfigs%2Fmodel.yaml&dl=1', 'vqgan_imagenet_f16_16384.yaml')
|
7 |
torch.hub.download_url_to_file('https://heibox.uni-heidelberg.de/d/a7530b09fed84f80a887/files/?p=%2Fckpts%2Flast.ckpt&dl=1', 'vqgan_imagenet_f16_16384.ckpt')
|