jayw commited on
Commit
6b0ae07
1 Parent(s): b4de95d

add hf token

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ pipe_sr_1_image = IFSuperResolutionPipeline.from_pretrained(
45
  text_encoder=None,
46
  torch_dtype=torch.float16,
47
  variant="fp16",
48
- token=HF_TOKEN
49
  )
50
  pipe_sr_1_image.enable_model_cpu_offload()
51
 
 
45
  text_encoder=None,
46
  torch_dtype=torch.float16,
47
  variant="fp16",
48
+ use_auth_token=HF_TOKEN
49
  )
50
  pipe_sr_1_image.enable_model_cpu_offload()
51