voice-changer/server/Exceptions.py
2023-04-17 09:45:12 +09:00

8 lines
232 B
Python

class NoModeLoadedException(Exception):
def __init__(self, framework):
self.framework = framework
def __str__(self):
return repr(f"No model for {self.framework} loaded. Please confirm the model uploaded.")