Error deploy yolov8 model to roboflow

They have changed Yolov8 DectionModel args from dictionary to NameSpace.
Commit: `ultralytics 8.0.12` - Hydra removal (#506) · ultralytics/ultralytics@c5fccc3 · GitHub

Since then the roboflow deploy method doesn’t work anymore on Yolov8 model.

/usr/local/lib/python3.8/dist-packages/roboflow/core/version.py in deploy(self, model_type, model_path)
330 “nc”: model[“model”].nc,
331 “args”: {
→ 332 k: val for k, val in model[“model”].args.items() if k != “hydra”
333 },
334 “ultralytics_version”: ultralytics.version,

AttributeError: ‘UltralyticsCFG’ object has no attribute ‘items’

I’ve been notified by the team that the issue should be resolved now.