Spaces:
Sleeping
Sleeping
lichorosario
commited on
Commit
•
973d8fa
1
Parent(s):
edb885b
Refactorizar función de refinamiento de imágenes en app.py
Browse files
app.py
CHANGED
@@ -180,7 +180,7 @@ def upscale_image(image, resolution, num_inference_steps, strength, hdr, guidanc
|
|
180 |
except ValueError as e:
|
181 |
raise gr.Error(e)
|
182 |
|
183 |
-
return
|
184 |
|
185 |
|
186 |
def refine_image(apply_refiner, image, model ,prompt, negative_prompt, num_inference_steps, guidance_scale, seed, strength):
|
|
|
180 |
except ValueError as e:
|
181 |
raise gr.Error(e)
|
182 |
|
183 |
+
return result
|
184 |
|
185 |
|
186 |
def refine_image(apply_refiner, image, model ,prompt, negative_prompt, num_inference_steps, guidance_scale, seed, strength):
|