zliang commited on
Commit
5e0b59c
1 Parent(s): 8a3b566

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
2
  from ultralytics import YOLO
3
  import cv2
4
  import numpy as np
 
5
 
6
  # Load the trained model
7
  model_path = 'best.pt' # Replace with the path to your trained .pt file
 
2
  from ultralytics import YOLO
3
  import cv2
4
  import numpy as np
5
+ import spaces
6
 
7
  # Load the trained model
8
  model_path = 'best.pt' # Replace with the path to your trained .pt file