mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-24 22:15:02 +03:00
19 lines
349 B
Python
19 lines
349 B
Python
|
from dataclasses import dataclass, field
|
||
|
from typing import List
|
||
|
from dataclasses_json import dataclass_json
|
||
|
|
||
|
|
||
|
@dataclass_json
|
||
|
@dataclass
|
||
|
class MergeFile:
|
||
|
filename: str
|
||
|
strength: int
|
||
|
|
||
|
|
||
|
@dataclass_json
|
||
|
@dataclass
|
||
|
class MergeModelRequest:
|
||
|
command: str = ""
|
||
|
slot: int = -1
|
||
|
files: List[MergeFile] = field(default_factory=lambda: [])
|