Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,12 +2,12 @@ import gradio as gr
|
|
2 |
import numpy as np
|
3 |
import fitz # PyMuPDF
|
4 |
import spaces
|
5 |
-
from ultralytics import
|
6 |
|
7 |
# Load the trained model
|
8 |
|
9 |
|
10 |
-
model =
|
11 |
|
12 |
|
13 |
|
|
|
2 |
import numpy as np
|
3 |
import fitz # PyMuPDF
|
4 |
import spaces
|
5 |
+
from ultralytics import YOLOv10
|
6 |
|
7 |
# Load the trained model
|
8 |
|
9 |
|
10 |
+
model = YOLOv10("best.pt")
|
11 |
|
12 |
|
13 |
|