zliang commited on
Commit
041f53d
1 Parent(s): b58fcaa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,13 +2,13 @@ import gradio as gr
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
 
11
- model = YOLOv10("best.pt")
12
 
13
 
14
  # Define the class indices for figures and tables
 
2
  import numpy as np
3
  import fitz # PyMuPDF
4
  import spaces
5
+ from ultralytics import YOLO
6
 
7
  # Load the trained model
8
 
9
 
10
 
11
+ model = YOLO("best.pt")
12
 
13
 
14
  # Define the class indices for figures and tables