Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ dtype = torch.bfloat16
|
|
11 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
12 |
|
13 |
# Include your Hugging Face access token
|
14 |
-
hf_token = os.getenv("
|
15 |
|
16 |
# Load the diffusion pipeline with the access token
|
17 |
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16, token=hf_token).to(device)
|
|
|
11 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
12 |
|
13 |
# Include your Hugging Face access token
|
14 |
+
hf_token = os.getenv("waffles")
|
15 |
|
16 |
# Load the diffusion pipeline with the access token
|
17 |
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16, token=hf_token).to(device)
|