ysharma HF staff commited on
Commit
39aa976
1 Parent(s): 715f449
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -9,7 +9,8 @@ def wordsrch(img):
9
  examples = ["wordsearch2.jpg"]
10
 
11
  iface = gr.Interface(fn=wordsrch,
12
- inputs=gr.inputs.Image(type='filetype', label='Input'), #"en"],
 
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)