Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -180,7 +180,7 @@ def txt_to_img(model_path, prompt, n_images, neg_prompt, guidance, steps, width,
|
|
180 |
|
181 |
# update_state(f"Done. Seed: {seed}")
|
182 |
|
183 |
-
return
|
184 |
|
185 |
def img_to_img(model_path, prompt, n_images, neg_prompt, img, strength, guidance, steps, width, height, generator, seed):
|
186 |
|
@@ -233,7 +233,7 @@ def img_to_img(model_path, prompt, n_images, neg_prompt, img, strength, guidance
|
|
233 |
|
234 |
# update_state(f"Done. Seed: {seed}")
|
235 |
|
236 |
-
return
|
237 |
|
238 |
def replace_nsfw_images(results):
|
239 |
|
|
|
180 |
|
181 |
# update_state(f"Done. Seed: {seed}")
|
182 |
|
183 |
+
return result
|
184 |
|
185 |
def img_to_img(model_path, prompt, n_images, neg_prompt, img, strength, guidance, steps, width, height, generator, seed):
|
186 |
|
|
|
233 |
|
234 |
# update_state(f"Done. Seed: {seed}")
|
235 |
|
236 |
+
return result
|
237 |
|
238 |
def replace_nsfw_images(results):
|
239 |
|