kadirnar commited on
Commit
55311cc
·
verified ·
1 Parent(s): cbd315e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
 
2
 
3
-
4
  def yolov9_inference(img_path, model_path,image_size, conf_threshold, iou_threshold):
5
  """
6
  Load a YOLOv9 model, configure it, perform inference on an image, and optionally adjust
 
1
  import gradio as gr
2
+ import spaces
3
 
4
+ @spaces.GPU
5
  def yolov9_inference(img_path, model_path,image_size, conf_threshold, iou_threshold):
6
  """
7
  Load a YOLOv9 model, configure it, perform inference on an image, and optionally adjust