SahilCarterr commited on
Commit
369be04
·
verified ·
1 Parent(s): f544e86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
-
 
2
  import gradio as gr
3
  def function(image):
4
  model = YOLO('best_yolo_2.pt')
 
1
+ from ultralytics import YOLO
2
+ from PIL import Image
3
  import gradio as gr
4
  def function(image):
5
  model = YOLO('best_yolo_2.pt')