Spaces:
Runtime error
Runtime error
Update model to newer version
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ resolution = 512
|
|
9 |
dreambooth_model = keras_cv.models.StableDiffusion(
|
10 |
img_width=resolution, img_height=resolution, jit_compile=True,
|
11 |
)
|
12 |
-
loaded_diffusion_model = from_pretrained_keras("melanit/
|
13 |
dreambooth_model._diffusion_model = loaded_diffusion_model
|
14 |
|
15 |
def generate_images(prompt: str, negative_prompt:str, batch_size: int, num_steps: int, guidance_scale: float):
|
|
|
9 |
dreambooth_model = keras_cv.models.StableDiffusion(
|
10 |
img_width=resolution, img_height=resolution, jit_compile=True,
|
11 |
)
|
12 |
+
loaded_diffusion_model = from_pretrained_keras("melanit/dreambooth_voyager_v3")
|
13 |
dreambooth_model._diffusion_model = loaded_diffusion_model
|
14 |
|
15 |
def generate_images(prompt: str, negative_prompt:str, batch_size: int, num_steps: int, guidance_scale: float):
|