Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def my_app(img):
|
|
13 |
(x + height, y + width),
|
14 |
(0, 255, 0), 5), "STOP")
|
15 |
else:
|
16 |
-
return cv2.imread("thumbs_up.jpg")
|
17 |
|
18 |
|
19 |
gr.interface.Interface(fn=my_app, live=True, inputs="image", outputs=["image", "text"]).launch()
|
|
|
13 |
(x + height, y + width),
|
14 |
(0, 255, 0), 5), "STOP")
|
15 |
else:
|
16 |
+
return (cv2.imread("thumbs_up.jpg"), "You may continue.")
|
17 |
|
18 |
|
19 |
gr.interface.Interface(fn=my_app, live=True, inputs="image", outputs=["image", "text"]).launch()
|