cuio commited on
Commit
cbe5233
·
verified ·
1 Parent(s): 36834d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,10 +1,10 @@
1
- from gradio_client import Client
2
 
3
  client = Client("https://s5k.cn/api/v1/studio/iic/CosyVoice-300M-WAIC/gradio/")
4
- result = client.predict(
5
  _sound_radio="中文女",
6
  _synthetic_input_textbox="你好",
7
  _seed=0,
8
  api_name="/generate_audio"
9
  )
10
- print(result)
 
1
+ from gradio_client import Client, file
2
 
3
  client = Client("https://s5k.cn/api/v1/studio/iic/CosyVoice-300M-WAIC/gradio/")
4
+ client.predict(
5
  _sound_radio="中文女",
6
  _synthetic_input_textbox="你好",
7
  _seed=0,
8
  api_name="/generate_audio"
9
  )
10
+ #print(result)