“JYH96”
commited on
Commit
·
435e8be
1
Parent(s):
4c18594
12312412
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def greet(img):
|
|
| 17 |
cv2.rectangle(img, (x, y), (x2, y2), (0, 255, 0), 2)
|
| 18 |
return img
|
| 19 |
|
| 20 |
-
demo = gr.Interface(fn=greet, inputs="image", outputs="
|
| 21 |
|
| 22 |
if __name__ == "__main__":
|
| 23 |
demo.launch(show_api=False, share=True)
|
|
|
|
| 17 |
cv2.rectangle(img, (x, y), (x2, y2), (0, 255, 0), 2)
|
| 18 |
return img
|
| 19 |
|
| 20 |
+
demo = gr.Interface(fn=greet, inputs="image", outputs="image")
|
| 21 |
|
| 22 |
if __name__ == "__main__":
|
| 23 |
demo.launch(show_api=False, share=True)
|