Blackbox g2e models updated (using QWen), Blackbox melotts updated with local and docker mode

This commit is contained in:
gdw6463
2024-05-20 17:39:31 +08:00
parent b0b24ff6c2
commit d1be3b2aa7
4 changed files with 62 additions and 17 deletions

View File

@ -48,11 +48,21 @@ class TesouConf():
class MeloConf():
melotts: str
mode: str
url: str
speed: int
device: str
language: str
speaker: str
@inject
def __init__(self, config: Configuration) -> None:
self.melotts = config.get("melotts.url")
self.mode = config.get("melotts.mode")
self.url = config.get("melotts.url")
self.speed = config.get("melotts.speed")
self.device = config.get("melotts.device")
self.language = config.get("melotts.language")
self.speaker = config.get("melotts.speaker")
# 'CRITICAL': CRITICAL,
# 'FATAL': FATAL,