Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
ba6f4b5
1
Parent(s):
6e24cbe
delete
Browse files
app.py
CHANGED
|
@@ -7,6 +7,7 @@ from diffusers import DiffusionPipeline, FlowMatchEulerDiscreteScheduler, Autoe
|
|
| 7 |
from transformers import CLIPTextModel, CLIPTokenizer,T5EncoderModel, T5TokenizerFast
|
| 8 |
from live_preview_helpers import calculate_shift, retrieve_timesteps, flux_pipe_call_that_returns_an_iterable_of_images
|
| 9 |
from huggingface_hub import hf_hub_download
|
|
|
|
| 10 |
|
| 11 |
huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
|
| 12 |
dtype = torch.bfloat16
|
|
|
|
| 7 |
from transformers import CLIPTextModel, CLIPTokenizer,T5EncoderModel, T5TokenizerFast
|
| 8 |
from live_preview_helpers import calculate_shift, retrieve_timesteps, flux_pipe_call_that_returns_an_iterable_of_images
|
| 9 |
from huggingface_hub import hf_hub_download
|
| 10 |
+
import os
|
| 11 |
|
| 12 |
huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
|
| 13 |
dtype = torch.bfloat16
|