Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from transformers import CLIPTextModel, CLIPTokenizer,T5EncoderModel, T5Tokenize
|
|
9 |
from live_preview_helpers import calculate_shift, retrieve_timesteps, flux_pipe_call_that_returns_an_iterable_of_images
|
10 |
from huggingface_hub import login
|
11 |
|
12 |
-
hf_token = os.getenv("
|
13 |
login(hf_token)
|
14 |
|
15 |
dtype = torch.bfloat16
|
|
|
9 |
from live_preview_helpers import calculate_shift, retrieve_timesteps, flux_pipe_call_that_returns_an_iterable_of_images
|
10 |
from huggingface_hub import login
|
11 |
|
12 |
+
hf_token = os.getenv("HF_TOKEN")
|
13 |
login(hf_token)
|
14 |
|
15 |
dtype = torch.bfloat16
|