feat: rename

This commit is contained in:
莘权 马 2023-08-17 20:55:53 +08:00
parent de610df25d
commit eb232efdfc
3 changed files with 7 additions and 7 deletions

View file

@ -61,8 +61,8 @@ class AzureTTS:
# Export
def openapi_azsure_tts(text, lang="", voice="", style="", role="", subscription_key="", region=""):
"""openapi/tts/azsure
def oas3_azsure_tts(text, lang="", voice="", style="", role="", subscription_key="", region=""):
"""oas3/tts/azsure
For more details, check out:`https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=tts`
:param lang: The value can contain a language code such as en (English), or a locale such as en-US (English - United States). For more details, checkout: `https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=tts`

View file

@ -3,8 +3,8 @@
"""
@Time : 2023/8/17
@Author : mashenquan
@File : metagpt_openapi_svc.py
@Desc : MetaGPT OpenAPI REST API service
@File : metagpt_oas3_api_svc.py
@Desc : MetaGPT OpenAPI Specification 3.0 REST API service
"""
from pathlib import Path
import sys
@ -16,5 +16,5 @@ if __name__ == "__main__":
initalize_enviroment()
app = connexion.AioHttpApp(__name__, specification_dir='../../spec/')
app.add_api("metagpt_openapi.yaml")
app.add_api("metagpt_oas3_api.yaml")
app.run(port=8080)