Spaces:
Runtime error
Runtime error
tonic
commited on
Commit
•
682564f
1
Parent(s):
053f83a
fixing bugs, hopefully
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def process_audio_to_text(audio_path, inputlanguage="English"):
|
|
86 |
print("Audio Result: ", result)
|
87 |
return result[0]
|
88 |
|
89 |
-
def process_text_to_audio(text, translatefrom, translateto):
|
90 |
"""
|
91 |
Convert text input to audio using the Gradio client.
|
92 |
"""
|
|
|
86 |
print("Audio Result: ", result)
|
87 |
return result[0]
|
88 |
|
89 |
+
def process_text_to_audio(text, translatefrom="English", translateto="English"):
|
90 |
"""
|
91 |
Convert text input to audio using the Gradio client.
|
92 |
"""
|