Spaces:
Sleeping
Sleeping
| 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) | |