chore: change DECTalk port to 33001, Morshu port to 33002, add AI context file
This commit is contained in:
+3
-3
@@ -344,7 +344,7 @@ class TtsToy(Cog):
|
||||
sfx_volume=100,
|
||||
tts_mode="minimax",
|
||||
chatterbox_api_url=CHATTERBOX_DEFAULT_URL,
|
||||
dectalk_api_url=f"http://127.0.0.1:3001",
|
||||
dectalk_api_url=f"http://127.0.0.1:33001",
|
||||
dectalk_auto_start=True,
|
||||
accessibility_mode=False,
|
||||
vox_pack="vox",
|
||||
@@ -688,7 +688,7 @@ class TtsToy(Cog):
|
||||
text: Text to synthesize
|
||||
audio_path: Output file path
|
||||
"""
|
||||
morshu_url = "http://127.0.0.1:3002"
|
||||
morshu_url = "http://127.0.0.1:33002"
|
||||
try:
|
||||
r = requests.get(f"{morshu_url}/say", params={"text": text}, timeout=60)
|
||||
r.raise_for_status()
|
||||
@@ -1970,7 +1970,7 @@ class TtsToy(Cog):
|
||||
Show or set DECTalk API URL.
|
||||
|
||||
- `[p]ttstoy dectalkurl` → show current URL
|
||||
- `[p]ttstoy dectalkurl http://127.0.0.1:3001` → set URL
|
||||
- `[p]ttstoy dectalkurl http://127.0.0.1:33001` → set URL
|
||||
"""
|
||||
if url is None:
|
||||
current = await self._get_dectalk_api_url()
|
||||
|
||||
Reference in New Issue
Block a user