Update app.py
Browse files
app.py
CHANGED
@@ -12,5 +12,5 @@ def response(image):
|
|
12 |
im_rgb = im_bgr[..., ::-1] # Convert BGR to RGB
|
13 |
return im_rgb
|
14 |
|
15 |
-
iface = gr.Interface(fn=response,
|
16 |
iface.launch()
|
|
|
12 |
im_rgb = im_bgr[..., ::-1] # Convert BGR to RGB
|
13 |
return im_rgb
|
14 |
|
15 |
+
iface = gr.Interface(fn=response, inputs="image", outputs="image")
|
16 |
iface.launch()
|