ultralytics How to use hermanshid/yolo-layout-detector with ultralytics:
from ultralytics import YOLOvv5
model = YOLOvv5.from_pretrained("hermanshid/yolo-layout-detector")
source = 'http://images.cocodataset.org/val2017/000000039769.jpg'
model.predict(source=source, save=True)