juaben commited on
Commit
3bb88a4
·
verified ·
1 Parent(s): 26a752a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ with gr.Blocks() as demo:
110
  input_image.change(update_filename, inputs=input_image, outputs=filename_output)
111
 
112
  # Set the function to process the image with the filename
113
- input_image.submit(process_img, inputs=[input_image, filename_output], outputs=output_image)
114
 
115
  # Provide examples
116
  demo.examples = examples
 
110
  input_image.change(update_filename, inputs=input_image, outputs=filename_output)
111
 
112
  # Set the function to process the image with the filename
113
+ input_image.change(process_img, inputs=[input_image, filename_output], outputs=output_image)
114
 
115
  # Provide examples
116
  demo.examples = examples