tfwang commited on
Commit
93b727e
1 Parent(s): 1066174

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ def run(image, mode, sample_c=1.3, num_samples=3, sample_step=100):
35
  if mode == 'sketch':
36
  args.mode = 'coco-edge'
37
  args_up.mode = 'coco-edge'
38
- args.model_path = hf_hub_download(repo_id="tfwang/PITI", filename="base_edge.pt")
39
- args.sr_model_path = hf_hub_download(repo_id="tfwang/PITI", filename="upsample_edge.pt")
40
 
41
  elif mode == 'mask':
42
  args.mode = 'coco'
 
35
  if mode == 'sketch':
36
  args.mode = 'coco-edge'
37
  args_up.mode = 'coco-edge'
38
+ args.model_path = hf_hub_download(repo_id="tfwang/PITI", filename="base.pt")
39
+ args.sr_model_path = hf_hub_download(repo_id="tfwang/PITI", filename="upsample.pt")
40
 
41
  elif mode == 'mask':
42
  args.mode = 'coco'