Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -148,13 +148,13 @@ def convert_text_to_speech(input_text: str, source_language: str, target_languag
|
|
148 |
|
149 |
try:
|
150 |
result = client.predict(
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
input_text
|
156 |
-
source_language
|
157 |
-
target_language
|
158 |
api_name="/run",
|
159 |
)
|
160 |
|
|
|
148 |
|
149 |
try:
|
150 |
result = client.predict(
|
151 |
+
"T2ST",
|
152 |
+
"",
|
153 |
+
None,
|
154 |
+
None,
|
155 |
+
input_text,
|
156 |
+
source_language,
|
157 |
+
target_language,
|
158 |
api_name="/run",
|
159 |
)
|
160 |
|