File size: 259 Bytes
c110b9e
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from gradio_client import Client

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