Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
import cv2
|
3 |
import tempfile
|
4 |
from ultralytics import YOLOv10
|
5 |
-
import spaces
|
6 |
|
7 |
@spaces.GPU
|
8 |
def yolov10_inference(image, video, model_id, image_size, conf_threshold):
|
|
|
1 |
+
import spaces
|
2 |
import gradio as gr
|
3 |
import cv2
|
4 |
import tempfile
|
5 |
from ultralytics import YOLOv10
|
|
|
6 |
|
7 |
@spaces.GPU
|
8 |
def yolov10_inference(image, video, model_id, image_size, conf_threshold):
|