abdeljalilELmajjodi commited on
Commit
fc0862c
·
verified ·
1 Parent(s): 893b675

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -250,10 +250,13 @@ def create_interface():
250
  ["i6.png"]
251
  ],
252
  inputs=image_input,
 
 
253
  label="Example Images",
254
  examples_per_page=4,
255
  cache_examples=True
256
- )
 
257
  with gr.Column(scale=1):
258
  # Output text
259
  output = gr.Textbox(
 
250
  ["i6.png"]
251
  ],
252
  inputs=image_input,
253
+ outputs=[output, status], # <-- required
254
+ fn=process_with_status, # <-- required
255
  label="Example Images",
256
  examples_per_page=4,
257
  cache_examples=True
258
+ )
259
+
260
  with gr.Column(scale=1):
261
  # Output text
262
  output = gr.Textbox(