Gholamreza commited on
Commit
ae77e95
1 Parent(s): 77cd68e

fixed ndarray loading

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,6 +8,6 @@ def process_image(input_image):
8
  return gray_image
9
 
10
  iface = gr.Interface(fn=process_image, inputs="image", outputs="image",
11
- examples=[[cv2.imread('img.jpg')]])
12
  iface.launch()
13
 
 
8
  return gray_image
9
 
10
  iface = gr.Interface(fn=process_image, inputs="image", outputs="image",
11
+ examples=['img.jpg'])
12
  iface.launch()
13