Spaces:
Runtime error
Runtime error
app.py
CHANGED
|
@@ -9,7 +9,8 @@ def wordsrch(img):
|
|
| 9 |
examples = ["wordsearch2.jpg"]
|
| 10 |
|
| 11 |
iface = gr.Interface(fn=wordsrch,
|
| 12 |
-
|
|
|
|
| 13 |
outputs=gr.outputs.Image(type='file', label='Output'),
|
| 14 |
examples = examples)
|
| 15 |
iface.launch(debug=True, enable_queue=True)
|
|
|
|
| 9 |
examples = ["wordsearch2.jpg"]
|
| 10 |
|
| 11 |
iface = gr.Interface(fn=wordsrch,
|
| 12 |
+
# Please choose from: 'numpy', 'pil', 'filepath'.
|
| 13 |
+
inputs=gr.inputs.Image(type='numpy', label='Input'), #"en"],
|
| 14 |
outputs=gr.outputs.Image(type='file', label='Output'),
|
| 15 |
examples = examples)
|
| 16 |
iface.launch(debug=True, enable_queue=True)
|