wjbmattingly commited on
Commit
5aa810f
·
verified ·
1 Parent(s): 71945bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -61,11 +61,9 @@ if __name__ == "__main__":
61
  from doclayout_yolo import YOLOv10
62
  print(f"Using device: {device}")
63
  model = YOLOv10(os.path.join(os.path.dirname(__file__), "models", "DocLayout-YOLO-DocStructBench", "doclayout_yolo_docstructbench_imgsz1024.pt")) # load an official model
64
-
65
- with open("header.html", "r") as file:
66
- header = file.read()
67
  with gr.Blocks() as demo:
68
- gr.HTML(header)
69
 
70
  with gr.Row():
71
  with gr.Column():
 
61
  from doclayout_yolo import YOLOv10
62
  print(f"Using device: {device}")
63
  model = YOLOv10(os.path.join(os.path.dirname(__file__), "models", "DocLayout-YOLO-DocStructBench", "doclayout_yolo_docstructbench_imgsz1024.pt")) # load an official model
64
+
 
 
65
  with gr.Blocks() as demo:
66
+
67
 
68
  with gr.Row():
69
  with gr.Column():