Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ loaded_diffusion_model = from_pretrained_keras("keras-dreambooth/dreambooth-pira
|
|
13 |
dreambooth_model._diffusion_model = loaded_diffusion_model
|
14 |
|
15 |
|
16 |
-
def generate_images(prompt: str, negative_prompt:str, num_imgs_to_gen: int, ugs: int):
|
17 |
generated_img = dreambooth_model.text_to_image(
|
18 |
prompt,
|
19 |
negative_prompt=negative_prompt,
|
|
|
13 |
dreambooth_model._diffusion_model = loaded_diffusion_model
|
14 |
|
15 |
|
16 |
+
def generate_images(prompt: str, negative_prompt:str, num_imgs_to_gen: int, num_steps: int, ugs: int):
|
17 |
generated_img = dreambooth_model.text_to_image(
|
18 |
prompt,
|
19 |
negative_prompt=negative_prompt,
|