Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -13,6 +13,6 @@ iface = gr.Interface(fn=wordsrch,
|
|
13 |
# Please choose from: 'numpy', 'pil', 'filepath'.
|
14 |
inputs=gr.inputs.Image(type='filepath', label='Input'), #"en"],
|
15 |
#outputs=gr.outputs.Image(type='file', label='Output'),
|
16 |
-
outputs=[gr.outputs.Image(type='file', label='Output'), gr.outputs.Dataframe(headers=['text', 'confidence'])],
|
17 |
examples = examples)
|
18 |
iface.launch(debug=True, enable_queue=True)
|
|
|
13 |
# Please choose from: 'numpy', 'pil', 'filepath'.
|
14 |
inputs=gr.inputs.Image(type='filepath', label='Input'), #"en"],
|
15 |
#outputs=gr.outputs.Image(type='file', label='Output'),
|
16 |
+
outputs=[gr.outputs.Image(type='file', label='Output'), gr.outputs.Dataframe(headers=['text'])], #, 'confidence'])],
|
17 |
examples = examples)
|
18 |
iface.launch(debug=True, enable_queue=True)
|