Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import torch
|
|
| 5 |
from diffusers import DiffusionPipeline
|
| 6 |
|
| 7 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 8 |
-
model_repo_id = "
|
| 9 |
|
| 10 |
if torch.cuda.is_available():
|
| 11 |
torch_dtype = torch.float16
|
|
|
|
| 5 |
from diffusers import DiffusionPipeline
|
| 6 |
|
| 7 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 8 |
+
model_repo_id = "CompVis/stable-diffusion-v1-4" # Replace to the model you would like to use
|
| 9 |
|
| 10 |
if torch.cuda.is_available():
|
| 11 |
torch_dtype = torch.float16
|