Jyothish CHANDRASENAN commited on
Commit
3623652
·
1 Parent(s): 14a1ae9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -180,6 +180,6 @@ def predict(img):
180
 
181
  gr.Interface(fn=predict,
182
  inputs=[gr.Image(shape=(224,224), label="image à tester" ,type="filepath")],
183
- outputs=[gr.Image(shape=(224,224),label ="résultat"), "text"],
184
  css="footer {visibility: hidden} body}, .gradio-container {background-color: white}",
185
- examples=["006.png","002.png","003.png","004.png","058.png"],label="Quelques images à tester").launch(share=False)
 
180
 
181
  gr.Interface(fn=predict,
182
  inputs=[gr.Image(shape=(224,224), label="image à tester" ,type="filepath")],
183
+ outputs=[gr.Image(shape=(224,224),label ="résultat"), gr.Textbox(label="analyse")],
184
  css="footer {visibility: hidden} body}, .gradio-container {background-color: white}",
185
+ examples=[gr.Examples("006.png","002.png","003.png","004.png","058.png",label="Quelques images à tester")] ).launch(share=False)