Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from gradio_client import Client
|
2 |
-
client = Client("wasmdashai/wasmdashai-vits-ar-sa-huba")
|
3 |
-
def get_wav(text,name_model="wasmdashai/vits-ar-sa-huba-v2"):
|
4 |
|
|
|
|
|
5 |
result = client.predict(
|
6 |
text=text,
|
7 |
name_model=name_model,
|
@@ -10,8 +10,9 @@ def get_wav(text,name_model="wasmdashai/vits-ar-sa-huba-v2"):
|
|
10 |
return result
|
11 |
|
12 |
|
13 |
-
|
14 |
def t2t(text):
|
|
|
15 |
result = client_ai.predict(
|
16 |
text=text,
|
17 |
api_name="/t2t"
|
|
|
1 |
from gradio_client import Client
|
|
|
|
|
2 |
|
3 |
+
def get_wav(text,name_model="wasmdashai/vits-ar-sa-huba-v2"):
|
4 |
+
client = Client("wasmdashai/wasmdashai-vits-ar-sa-huba")
|
5 |
result = client.predict(
|
6 |
text=text,
|
7 |
name_model=name_model,
|
|
|
10 |
return result
|
11 |
|
12 |
|
13 |
+
|
14 |
def t2t(text):
|
15 |
+
client_ai = Client("wasmdashai/wasm-speeker-sa")
|
16 |
result = client_ai.predict(
|
17 |
text=text,
|
18 |
api_name="/t2t"
|