Spaces:
Sleeping
Sleeping
lichorosario
commited on
Commit
·
2401a23
1
Parent(s):
a12900a
Ajustar función clear_output en app.py
Browse files
app.py
CHANGED
@@ -275,7 +275,7 @@ with gr.Blocks(css=css) as demo:
|
|
275 |
|
276 |
with gr.Row():
|
277 |
def clear_output(image_slider):
|
278 |
-
return gr.update(value=
|
279 |
|
280 |
with gr.Column():
|
281 |
generated_image = gr.Image(label="Input Image", type="filepath")
|
|
|
275 |
|
276 |
with gr.Row():
|
277 |
def clear_output(image_slider):
|
278 |
+
return gr.update(value=None)
|
279 |
|
280 |
with gr.Column():
|
281 |
generated_image = gr.Image(label="Input Image", type="filepath")
|