Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from controlnet_aux import CannyDetector
|
|
7 |
from diffusers.utils import load_image
|
8 |
|
9 |
from huggingface_hub import login
|
10 |
-
hf_token = os.environ.get
|
11 |
login(hf_token)
|
12 |
|
13 |
def load_pipeline(four_bit=False):
|
|
|
7 |
from diffusers.utils import load_image
|
8 |
|
9 |
from huggingface_hub import login
|
10 |
+
hf_token = os.environ.get("HF_TOKEN")
|
11 |
login(hf_token)
|
12 |
|
13 |
def load_pipeline(four_bit=False):
|