Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|