CorvaeOboro commited on
Commit
ae4445c
β€’
1 Parent(s): b5bbbf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,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_20220801.pkl')), 'rb') as f:
13
- G = pickle.load(f)['f']# torch.nn.Module
14
 
15
  device = torch.device("cpu")
16
  if torch.cuda.is_available():
 
9
 
10
  #TOKEN = os.environ['TOKEN']
11
 
12
+ with open(cached_download(hf_hub_url('CorvaeOboro/gen_ability_icon', 'gen_ability_icon_stylegan2ada_20220819.pkl')), 'rb') as f:
13
+ G = pickle.load(f)['G_ema']# torch.nn.Module
14
 
15
  device = torch.device("cpu")
16
  if torch.cuda.is_available():