Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -566,7 +566,7 @@ def infer(
|
|
| 566 |
|
| 567 |
print('use_Tiny_VAE = ', use_Tiny_VAE)
|
| 568 |
|
| 569 |
-
|
| 570 |
VAE_id = "stabilityai/sd-vae-ft-mse"
|
| 571 |
|
| 572 |
generator = torch.Generator(device).manual_seed(seed)
|
|
|
|
| 566 |
|
| 567 |
print('use_Tiny_VAE = ', use_Tiny_VAE)
|
| 568 |
|
| 569 |
+
if Tiny_VAE == "sd-vae-ft-mse":
|
| 570 |
VAE_id = "stabilityai/sd-vae-ft-mse"
|
| 571 |
|
| 572 |
generator = torch.Generator(device).manual_seed(seed)
|