from gradio_client import Client, file | |
client = Client("https://s5k.cn/api/v1/studio/iic/CosyVoice-300M-WAIC/gradio/") | |
client.predict( | |
_sound_radio="中文女", | |
_synthetic_input_textbox="你好", | |
_seed=0, | |
api_name="/generate_audio" | |
) | |
#print(result) |
from gradio_client import Client, file | |
client = Client("https://s5k.cn/api/v1/studio/iic/CosyVoice-300M-WAIC/gradio/") | |
client.predict( | |
_sound_radio="中文女", | |
_synthetic_input_textbox="你好", | |
_seed=0, | |
api_name="/generate_audio" | |
) | |
#print(result) |