Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
Β·
799297b
1
Parent(s):
20e6a71
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,8 @@ import os
|
|
2 |
os.system('pip install gradio --upgrade')
|
3 |
os.system('pip freeze')
|
4 |
import torch
|
5 |
-
torch.hub.download_url_to_file('
|
6 |
-
torch.hub.download_url_to_file('
|
7 |
import argparse
|
8 |
import math
|
9 |
from pathlib import Path
|
|
|
2 |
os.system('pip install gradio --upgrade')
|
3 |
os.system('pip freeze')
|
4 |
import torch
|
5 |
+
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')
|
6 |
+
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')
|
7 |
import argparse
|
8 |
import math
|
9 |
from pathlib import Path
|