Spaces:
Runtime error
Runtime error
Commit
·
4f675c0
1
Parent(s):
7a19c59
Test
Browse files
app.py
CHANGED
@@ -9,7 +9,6 @@ import streamlit as st
|
|
9 |
|
10 |
# model_path = WEIGHTS_DIR # If you want to use previously trained model saved in gdrive, replace this with the full path of model in gdrive
|
11 |
|
12 |
-
|
13 |
pipe = StableDiffusionPipeline.from_pretrained("Divyanshu04/Finetuned-sd-vae", safety_checker=None, torch_dtype=torch.float32).to("cuda")
|
14 |
# pipe = DiffusionPipeline.from_pretrained("Divyanshu04/Finetuned-sd-vae", torch_dtype=torch.float32)
|
15 |
pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
|
|
|
9 |
|
10 |
# model_path = WEIGHTS_DIR # If you want to use previously trained model saved in gdrive, replace this with the full path of model in gdrive
|
11 |
|
|
|
12 |
pipe = StableDiffusionPipeline.from_pretrained("Divyanshu04/Finetuned-sd-vae", safety_checker=None, torch_dtype=torch.float32).to("cuda")
|
13 |
# pipe = DiffusionPipeline.from_pretrained("Divyanshu04/Finetuned-sd-vae", torch_dtype=torch.float32)
|
14 |
pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
|