CorvaeOboro commited on
Commit
180ddb8
β€’
1 Parent(s): 9f73390

model path

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from huggingface_hub import hf_hub_url, cached_download
9
  from huggingface_hub import hf_hub_download
10
 
11
  #hf_hub_download(repo_id="CorvaeOboro/gen_ability_icon", filename="gen_ability_icon_stylegan2ada_20221012.pkl", repo_type="dataset")
12
-
13
  #TOKEN = os.environ['TOKEN']
14
  with open(hf_hub_download(repo_id="CorvaeOboro/gen_ability_icon", filename="gen_ability_icon_stylegan2ada_20221012.pkl", repo_type="model"), 'rb') as f:
15
  G = pickle.load(f)['G_ema']# torch.nn.Module
 
9
  from huggingface_hub import hf_hub_download
10
 
11
  #hf_hub_download(repo_id="CorvaeOboro/gen_ability_icon", filename="gen_ability_icon_stylegan2ada_20221012.pkl", repo_type="dataset")
12
+ # gen_ability_icon/gen_ability_icon_stylegan2ada_20221012.pkl
13
  #TOKEN = os.environ['TOKEN']
14
  with open(hf_hub_download(repo_id="CorvaeOboro/gen_ability_icon", filename="gen_ability_icon_stylegan2ada_20221012.pkl", repo_type="model"), 'rb') as f:
15
  G = pickle.load(f)['G_ema']# torch.nn.Module