Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -27,5 +27,5 @@ def find_layout(image):
|
|
27 |
|
28 |
return final_text
|
29 |
|
30 |
-
iface = gr.Interface(fn=find_layout, inputs=[gr.Image()], outputs="text")
|
31 |
iface.launch()
|
|
|
27 |
|
28 |
return final_text
|
29 |
|
30 |
+
iface = gr.Interface(fn=find_layout, inputs=[gr.Image(type="pil")], outputs="text")
|
31 |
iface.launch()
|