ayoubsa commited on
Commit
77b134f
·
verified ·
1 Parent(s): 810d670

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -133,6 +133,7 @@ iface.launch()"""
133
  import gradio as gr
134
  import torch
135
  from PIL import Image
 
136
 
137
  # Load the YOLO model
138
  model = torch.hub.load('ultralytics/yolov5', 'custom', path='https://huggingface.co/ayoubsa/yolo_model/blob/main/best.pt') # Replace with your uploaded model's path
 
133
  import gradio as gr
134
  import torch
135
  from PIL import Image
136
+ import numpy as np
137
 
138
  # Load the YOLO model
139
  model = torch.hub.load('ultralytics/yolov5', 'custom', path='https://huggingface.co/ayoubsa/yolo_model/blob/main/best.pt') # Replace with your uploaded model's path