Update app.py
Browse files
app.py
CHANGED
|
@@ -117,7 +117,7 @@ def load_and_prepare_model(model_id):
|
|
| 117 |
vae=vae,
|
| 118 |
)
|
| 119 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
| 120 |
-
pipe.to(torch.bfloat16)
|
| 121 |
pipe.to('cuda')
|
| 122 |
return pipe
|
| 123 |
|
|
|
|
| 117 |
vae=vae,
|
| 118 |
)
|
| 119 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
| 120 |
+
#pipe.to(torch.bfloat16)
|
| 121 |
pipe.to('cuda')
|
| 122 |
return pipe
|
| 123 |
|