Spaces:
Runtime error
Runtime error
Commit ·
62a119d
1
Parent(s): c96ea4c
[Admin maintenance] Support new ZeroGPU hardware (#1)
Browse files- [Admin maintenance] Support new ZeroGPU hardware (32069c8e77bcb354458d740c685cef11830ab85b)
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 = "
|
| 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
|