Update app.py
Browse files
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 |
-
|
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)
|