Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,5 +7,5 @@ def identify(img):
|
|
7 |
res = pipe(img)
|
8 |
return res
|
9 |
|
10 |
-
demo = gr.Interface(fn=identify, inputs=gr.Image(), outputs="text")
|
11 |
demo.launch()
|
|
|
7 |
res = pipe(img)
|
8 |
return res
|
9 |
|
10 |
+
demo = gr.Interface(fn=identify, inputs=gr.Image(type='pil'), outputs="text")
|
11 |
demo.launch()
|