Asankilp commited on
Commit
3f6d91b
·
1 Parent(s): df076fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -42,6 +42,7 @@ MODEL_NAME = 'G_240000.pth'
42
  CHECKPOINT_REPO = 'WitchHuntTV/checkpoint_best_legacy_500.pt'
43
  model_pth = hf_hub_download(repo_id=MODEL_REPO,filename=MODEL_NAME)
44
  model_configfile = hf_hub_download(repo_id=MODEL_REPO,filename='config.json')
 
45
  class HParams():
46
  def __init__(self, **kwargs):
47
  for k, v in kwargs.items():
 
42
  CHECKPOINT_REPO = 'WitchHuntTV/checkpoint_best_legacy_500.pt'
43
  model_pth = hf_hub_download(repo_id=MODEL_REPO,filename=MODEL_NAME)
44
  model_configfile = hf_hub_download(repo_id=MODEL_REPO,filename='config.json')
45
+ checkpoint_pt = hf_hub_download(repo_id=CHECKPOINT_REPO,filename='checkpoint_best_legacy_500.pt',local_dir='./pretrain')
46
  class HParams():
47
  def __init__(self, **kwargs):
48
  for k, v in kwargs.items():