atlury commited on
Commit
5be1788
1 Parent(s): d7a89cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -28,6 +28,7 @@ model_paths = {
28
  "YOLOv8x Model": "yolov8x-doclaynet-epoch64-imgsz640-initiallr1e-4-finallr1e-5.pt",
29
  "YOLOv8m Model": "yolov8m-doclaynet.pt",
30
  "YOLOv8n Model": "yolov8n-doclaynet.pt",
 
31
  "DLA Model": "models/dla-model.pt"
32
  }
33
 
@@ -110,7 +111,7 @@ def process_image(image, model_choice):
110
 
111
  # Create the Gradio Interface
112
  with gr.Blocks() as demo:
113
- gr.Markdown("# Document Segmentation Demo (ZeroGPU)")
114
 
115
  with gr.Row():
116
  input_image = gr.Image(type="pil", label="Upload Image")
 
28
  "YOLOv8x Model": "yolov8x-doclaynet-epoch64-imgsz640-initiallr1e-4-finallr1e-5.pt",
29
  "YOLOv8m Model": "yolov8m-doclaynet.pt",
30
  "YOLOv8n Model": "yolov8n-doclaynet.pt",
31
+ "YOLOv8s Model": "yolov8s-doclaynet.pt",
32
  "DLA Model": "models/dla-model.pt"
33
  }
34
 
 
111
 
112
  # Create the Gradio Interface
113
  with gr.Blocks() as demo:
114
+ gr.Markdown("# Document Layout Segmentation Comparison (ZeroGPU)")
115
 
116
  with gr.Row():
117
  input_image = gr.Image(type="pil", label="Upload Image")