doevent commited on
Commit
d5227b4
β€’
1 Parent(s): 0c332e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -143,12 +143,11 @@ article = "<div><center><img src='https://visitor-badge.glitch.me/badge?page_id=
143
  interface = gr.Interface(
144
  fn=inference,
145
  inputs=gr.Image(type='filepath'),
146
- outputs=["image", "image"],
147
  examples=[['robot.png'], ['ship.png']],
148
  title=title,
149
  description=description,
150
  article=article,
151
  flagging_mode="never",
152
  cache_mode="lazy",
153
- delete_cache=(4000, 4000),
154
  ).queue().launch(show_error=True)
 
143
  interface = gr.Interface(
144
  fn=inference,
145
  inputs=gr.Image(type='filepath'),
146
+ outputs=[gr.Image(type='filepath', format="png"), gr.Image(type='filepath', format="png")],
147
  examples=[['robot.png'], ['ship.png']],
148
  title=title,
149
  description=description,
150
  article=article,
151
  flagging_mode="never",
152
  cache_mode="lazy",
 
153
  ).queue().launch(show_error=True)