Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,7 @@ from ultralytics import YOLO
|
|
5 |
from huggingface_hub import hf_hub_download
|
6 |
import cv2
|
7 |
import tempfile
|
|
|
8 |
|
9 |
def download_model(model_filename):
|
10 |
return hf_hub_download(repo_id="atalaydenknalbant/Yolov13", filename=model_filename)
|
@@ -123,7 +124,7 @@ def yolo_inference_for_examples(image, model_id, conf_threshold, iou_threshold,
|
|
123 |
with gr.Blocks() as app:
|
124 |
gr.Markdown("# Yolo13: Object Detection")
|
125 |
gr.Markdown("Upload an image or video for inference using the latest YOLOv13 models.")
|
126 |
-
gr.Markdown("π **Note:** Better
|
127 |
with gr.Accordion("Paper and Citation", open=False):
|
128 |
gr.Markdown("""
|
129 |
This application is based on the research from the paper: **YOLOv13: Real-Time Object Detection with Hypergraph-Enhanced Adaptive Visual Perception**.
|
|
|
5 |
from huggingface_hub import hf_hub_download
|
6 |
import cv2
|
7 |
import tempfile
|
8 |
+
import numpy as np
|
9 |
|
10 |
def download_model(model_filename):
|
11 |
return hf_hub_download(repo_id="atalaydenknalbant/Yolov13", filename=model_filename)
|
|
|
124 |
with gr.Blocks() as app:
|
125 |
gr.Markdown("# Yolo13: Object Detection")
|
126 |
gr.Markdown("Upload an image or video for inference using the latest YOLOv13 models.")
|
127 |
+
gr.Markdown("π **Note:** Better-trained models will be deployed as they become available.")
|
128 |
with gr.Accordion("Paper and Citation", open=False):
|
129 |
gr.Markdown("""
|
130 |
This application is based on the research from the paper: **YOLOv13: Real-Time Object Detection with Hypergraph-Enhanced Adaptive Visual Perception**.
|