Update app.py
Browse files
app.py
CHANGED
@@ -251,6 +251,7 @@ with gr.Blocks(css=css,head=js,fill_height=True) as demo:
|
|
251 |
if params.get("e", "0") == "1":
|
252 |
#update the image
|
253 |
#bind events
|
|
|
254 |
return [Image.open(default_image)]
|
255 |
return []
|
256 |
|
|
|
251 |
if params.get("e", "0") == "1":
|
252 |
#update the image
|
253 |
#bind events
|
254 |
+
result.value = [Image.open(default_image)]
|
255 |
return [Image.open(default_image)]
|
256 |
return []
|
257 |
|