segestic commited on
Commit
580f2d7
·
verified ·
1 Parent(s): 97e38b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -26,5 +26,6 @@ def image_predict (image):
26
 
27
 
28
 
29
- myApp = gr.Interface(fn=image_predict, inputs="image", outputs="text")
 
30
  myApp.launch(share=True)#share=True
 
26
 
27
 
28
 
29
+ #myApp = gr.Interface(fn=image_predict, inputs="image", outputs="text")
30
+ myApp = gr.Interface(fn=image_predict, inputs=gr.Image(type="numpy"), outputs=gr.Text()).launch()
31
  myApp.launch(share=True)#share=True