Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import diffusers
|
|
| 4 |
from diffusers.models import AutoencoderKL
|
| 5 |
|
| 6 |
vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-mse")
|
| 7 |
-
pipeline = diffusers.DiffusionPipeline.from_pretrained("SG161222/
|
| 8 |
|
| 9 |
|
| 10 |
def read_content(file_path: str) -> str:
|
|
|
|
| 4 |
from diffusers.models import AutoencoderKL
|
| 5 |
|
| 6 |
vae = AutoencoderKL.from_pretrained("stabilityai/sd-vae-ft-mse")
|
| 7 |
+
pipeline = diffusers.DiffusionPipeline.from_pretrained("SG161222/Realistic_Vision_V5.1_noVAE", vae=vae).to("cuda")
|
| 8 |
|
| 9 |
|
| 10 |
def read_content(file_path: str) -> str:
|