Update app.py
Browse files
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=["
|
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)
|