Spaces:
Sleeping
Sleeping
File size: 322 Bytes
0f09c5d |
1 2 3 4 5 6 7 8 9 10 11 |
# Ultralytics YOLO 🚀, AGPL-3.0 license
from ultralytics.utils import emojis
class HUBModelError(Exception):
def __init__(self, message='Model not found. Please check model URL and try again.'):
"""Create an exception for when a model is not found."""
super().__init__(emojis(message))
|