Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
Β·
a9bed12
1
Parent(s):
e9cd1e9
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import os
|
|
2 |
os.system("pip install gradio==2.5.3")
|
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')
|
|
|
2 |
os.system("pip install gradio==2.5.3")
|
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')
|