Spaces:
Runtime error
Runtime error
CorvaeOboro
commited on
Commit
β’
e9a8f34
1
Parent(s):
f7b7cdc
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,6 @@ import types
|
|
8 |
from huggingface_hub import hf_hub_url, cached_download
|
9 |
|
10 |
#TOKEN = os.environ['TOKEN']
|
11 |
-
|
12 |
with open(cached_download(hf_hub_url('CorvaeOboro/gen_ability_icon', 'gen_ability_icon_stylegan2ada_20221012.pkl')), 'rb') as f:
|
13 |
G = pickle.load(f)['G_ema']# torch.nn.Module
|
14 |
|
|
|
8 |
from huggingface_hub import hf_hub_url, cached_download
|
9 |
|
10 |
#TOKEN = os.environ['TOKEN']
|
|
|
11 |
with open(cached_download(hf_hub_url('CorvaeOboro/gen_ability_icon', 'gen_ability_icon_stylegan2ada_20221012.pkl')), 'rb') as f:
|
12 |
G = pickle.load(f)['G_ema']# torch.nn.Module
|
13 |
|