2023-06-21 03:18:51 +03:00
|
|
|
from typing import Protocol
|
|
|
|
|
|
|
|
from voice_changer.utils.LoadModelParams import LoadModelParams
|
|
|
|
|
|
|
|
|
|
|
|
class ModelSlotGenerator(Protocol):
|
|
|
|
@classmethod
|
2023-06-23 08:54:39 +03:00
|
|
|
def loadModel(cls, params: LoadModelParams):
|
2023-06-21 03:18:51 +03:00
|
|
|
...
|