Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -155,7 +155,7 @@ def process_audio_to_text(audio_path, inputlanguage="English", outputlanguage="E
|
|
155 |
return result[0]
|
156 |
|
157 |
|
158 |
-
def process_text_to_audio(text, translatefrom="English", translateto="English", filename_prefix="audio", base_url="https://huggingface.co/spaces/MultiTransformer/
|
159 |
"""
|
160 |
Convert text input to audio, ensuring the audio file is correctly saved and returned as a file path or URL.
|
161 |
"""
|
|
|
155 |
return result[0]
|
156 |
|
157 |
|
158 |
+
def process_text_to_audio(text, translatefrom="English", translateto="English", filename_prefix="audio", base_url="https://huggingface.co/spaces/MultiTransformer/AyaTonicblob/main/"):
|
159 |
"""
|
160 |
Convert text input to audio, ensuring the audio file is correctly saved and returned as a file path or URL.
|
161 |
"""
|