Spaces:
Running
on
Zero
Running
on
Zero
randomtable
commited on
Commit
•
c4ca405
1
Parent(s):
a123525
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from diffusers import DiffusionPipeline
|
|
6 |
import torch
|
7 |
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
-
model_repo_id = "black-forest-labs/FLUX.1-
|
10 |
|
11 |
if torch.cuda.is_available():
|
12 |
torch_dtype = torch.float16
|
|
|
6 |
import torch
|
7 |
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
+
model_repo_id = "black-forest-labs/FLUX.1-schnell" #Replace to the model you would like to use
|
10 |
|
11 |
if torch.cuda.is_available():
|
12 |
torch_dtype = torch.float16
|