Spaces:
Sleeping
Sleeping
sudhir2016
commited on
Commit
•
5883283
1
Parent(s):
58e28c3
Update app.py
Browse files
app.py
CHANGED
@@ -12,5 +12,5 @@ def predict(photo,Label1,Label2,Label3):
|
|
12 |
label1='Apple'
|
13 |
label2='Orange'
|
14 |
label3='Banana'
|
15 |
-
demo = gr.Interface(fn=predict,inputs=[
|
16 |
demo.launch()
|
|
|
12 |
label1='Apple'
|
13 |
label2='Orange'
|
14 |
label3='Banana'
|
15 |
+
demo = gr.Interface(fn=predict,inputs=[gr.Image(type="pil"),'text','text','text'],outputs='text',examples=[['Banana.jpg',label1,label2,label3]])
|
16 |
demo.launch()
|