SahilCarterr commited on
Commit
f544e86
·
verified ·
1 Parent(s): 8b3790e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
 
2
  import gradio as gr
3
  def function(image):
4
- model = YOLO('/content/drive/MyDrive/new Movie/best_yolo_2.pt')
5
  image = np.array(image)
6
  results = model.predict(image)
7
  img=Image.fromarray(result[0].plot())
 
1
 
2
  import gradio as gr
3
  def function(image):
4
+ model = YOLO('best_yolo_2.pt')
5
  image = np.array(image)
6
  results = model.predict(image)
7
  img=Image.fromarray(result[0].plot())