mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-30 03:16:23 +02:00
feat: + annotations
This commit is contained in:
parent
deccb9fde2
commit
8738831e0f
2 changed files with 1 additions and 4 deletions
|
|
@ -6,7 +6,6 @@
|
|||
@File : text_to_image.py
|
||||
@Desc : Text-to-Image skill, which provides text-to-image functionality.
|
||||
"""
|
||||
import os
|
||||
|
||||
from metagpt.config import CONFIG
|
||||
from metagpt.tools.metagpt_text_to_image import oas3_metagpt_text_to_image
|
||||
|
|
|
|||
|
|
@ -7,15 +7,13 @@
|
|||
@Desc : Text-to-Speech skill, which provides text-to-speech functionality
|
||||
"""
|
||||
|
||||
|
||||
from metagpt.config import CONFIG
|
||||
|
||||
from metagpt.tools.azure_tts import oas3_azsure_tts
|
||||
|
||||
|
||||
|
||||
async def text_to_speech(text, lang="zh-CN", voice="zh-CN-XiaomoNeural", style="affectionate", role="Girl",
|
||||
subscription_key="", region="", **kwargs):
|
||||
subscription_key="", region="", **kwargs):
|
||||
"""Text to speech
|
||||
For more details, check out:`https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=tts`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue