feat: fix coding

This commit is contained in:
莘权 马 2023-08-28 20:17:55 +08:00
parent 946e6fa8b3
commit 71b4922f55
7 changed files with 23 additions and 33 deletions

View file

@ -14,12 +14,9 @@ from pathlib import Path
sys.path.append(str(Path(__file__).resolve().parent.parent.parent.parent)) # fix-bug: No module named 'metagpt'
from metagpt.const import WORKSPACE_ROOT
from metagpt.tools.azure_tts import AzureTTS
from metagpt.utils.common import initialize_environment
def test_azure_tts():
initialize_environment()
azure_tts = AzureTTS(subscription_key="", region="")
text = """
女儿看见父亲走了进来问道