Spaces:
Sleeping
Sleeping
lichorosario
commited on
Commit
•
ea71148
1
Parent(s):
438a38d
Refactorizar función de refinamiento de imágenes en app.py
Browse files
app.py
CHANGED
@@ -168,7 +168,7 @@ def upscale_image(image, resolution, num_inference_steps, strength, hdr, guidanc
|
|
168 |
except ValueError as e:
|
169 |
raise gr.Error(e)
|
170 |
|
171 |
-
return result
|
172 |
|
173 |
|
174 |
def refine_image(apply_refiner, image, model ,prompt, negative_prompt, num_inference_steps, guidance_scale, seed, strength):
|
|
|
168 |
except ValueError as e:
|
169 |
raise gr.Error(e)
|
170 |
|
171 |
+
return [image, result]
|
172 |
|
173 |
|
174 |
def refine_image(apply_refiner, image, model ,prompt, negative_prompt, num_inference_steps, guidance_scale, seed, strength):
|