Spaces:
Runtime error
Runtime error
add hf token
Browse files
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 |
-
|
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 |
|