Niohe commited on
Commit
cc9b7f2
·
verified ·
1 Parent(s): daed626

pip install gradio_client

Browse files

from gradio_client import Client

client = Client("https://ailyth-multi-voice-tts.hf.space/")
result = client.predict(
"Howdy!", # str in '输入需要生成语音的文字(标点也会影响语气)' Textbox component
0, # int | float (numeric value between 0 and 1) in 'SDP/DP混合比' Slider component
0.1, # int | float (numeric value between 0.1 and 1.5) in '感情变化' Slider component
0.1, # int | float (numeric value between 0.1 and 1.4) in '音节长度' Slider component
0.1, # int | float (numeric value between 0.1 and 2) in '生成语音总长度' Slider component
"Mellowdear", # str in '声音模型' Radio component
fn_index=0
)
print(result)

Files changed (1) hide show
  1. README.md +0 -0
README.md ADDED
File without changes