Spaces:
Sleeping
Sleeping
File size: 247 Bytes
7a38b33 |
1 2 3 4 5 6 |
class RefusalError(Exception):
"""Exception raised when the model refuses to respond."""
def __init__(self, message="The model refused to respond to the given input."):
self.message = message
super().__init__(self.message)
|