Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
| 30 |
pretrained_model = 'runwayml/stable-diffusion-v1-5'
|
| 31 |
controlnet = 'models'
|
| 32 |
# controlnet = 'checkpoint-34000/controlnet'
|
| 33 |
-
precision = '
|
| 34 |
|
| 35 |
# Check for different hardware architectures
|
| 36 |
if torch.cuda.is_available():
|
|
|
|
| 30 |
pretrained_model = 'runwayml/stable-diffusion-v1-5'
|
| 31 |
controlnet = 'models'
|
| 32 |
# controlnet = 'checkpoint-34000/controlnet'
|
| 33 |
+
precision = 'fp16'
|
| 34 |
|
| 35 |
# Check for different hardware architectures
|
| 36 |
if torch.cuda.is_available():
|