praysimanjuntak commited on
Commit
3cb12d8
1 Parent(s): 1d80da5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ import cv2
11
  import gradio as gr
12
 
13
  # Initialize YOLO model
14
- model_yolo = YOLO(model="runs/detect/train/weights/best.pt")
15
  ocr = PaddleOCR(use_angle_cls=True, lang='en', use_gpu=False, show_log=False)
16
 
17
  def process_pdf(file):
 
11
  import gradio as gr
12
 
13
  # Initialize YOLO model
14
+ model_yolo = YOLO(model="yolov8n-box.pt")
15
  ocr = PaddleOCR(use_angle_cls=True, lang='en', use_gpu=False, show_log=False)
16
 
17
  def process_pdf(file):