Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
08c5790
1
Parent(s):
a423cc4
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ device = "cuda"
|
|
12 |
dtype = torch.float16
|
13 |
|
14 |
repo = "stabilityai/stable-diffusion-3.5-large"
|
15 |
-
t2i = StableDiffusion3Pipeline.from_pretrained(repo, torch_dtype=torch.
|
16 |
|
17 |
model = AutoModelForCausalLM.from_pretrained(
|
18 |
"microsoft/Phi-3.5-mini-instruct",
|
|
|
12 |
dtype = torch.float16
|
13 |
|
14 |
repo = "stabilityai/stable-diffusion-3.5-large"
|
15 |
+
t2i = StableDiffusion3Pipeline.from_pretrained(repo, torch_dtype=torch.bfloat16, token=os.environ["TOKEN"]).to(device)
|
16 |
|
17 |
model = AutoModelForCausalLM.from_pretrained(
|
18 |
"microsoft/Phi-3.5-mini-instruct",
|