Update app.py
Browse files
app.py
CHANGED
@@ -29,5 +29,5 @@ while True:
|
|
29 |
#ret, inputs = cam.read()
|
30 |
img = cv2.imread("soccer.jpg")
|
31 |
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
|
32 |
-
|
33 |
-
gr.Interface(yolo,
|
|
|
29 |
#ret, inputs = cam.read()
|
30 |
img = cv2.imread("soccer.jpg")
|
31 |
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
|
32 |
+
inputs = Image.fromarray(img)
|
33 |
+
gr.Interface(yolo, inputs, outputs, title=title, description=description, article=article, examples=examples, theme="huggingface").launch(debug=True)
|