Spaces:
Runtime error
Runtime error
Jyothish CHANDRASENAN
commited on
Commit
·
a268bec
1
Parent(s):
535a8e9
Update app.py
Browse files
app.py
CHANGED
@@ -183,7 +183,7 @@ def predict(img):
|
|
183 |
|
184 |
sample_images = [["006.png"],["002.png"],["003.png"],["004.png"],["058.png"],["010.png"],["011.png"],["012.png"],["013.png"],["014.png"]]
|
185 |
gr.Interface(fn=predict,
|
186 |
-
inputs=[gr.Image(
|
187 |
-
outputs=[gr.Image(
|
188 |
css="footer {visibility: hidden} body}, .gradio-container {background-color: white}",
|
189 |
examples=sample_images).launch(share=False)
|
|
|
183 |
|
184 |
sample_images = [["006.png"],["002.png"],["003.png"],["004.png"],["058.png"],["010.png"],["011.png"],["012.png"],["013.png"],["014.png"]]
|
185 |
gr.Interface(fn=predict,
|
186 |
+
inputs=[gr.Image(label="image à tester" ,type="filepath")],
|
187 |
+
outputs=[gr.Image(label ="résultat"), gr.Textbox(label="analyse")],
|
188 |
css="footer {visibility: hidden} body}, .gradio-container {background-color: white}",
|
189 |
examples=sample_images).launch(share=False)
|