Danilo9 commited on
Commit
4bf0e8f
·
1 Parent(s): 6747f40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- im_pil = Image.fromarray(img)
33
- gr.Interface(yolo, im_pil, outputs, title=title, description=description, article=article, examples=examples, theme="huggingface").launch(debug=True)
 
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)