mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-04-01 00:18:04 +02:00
Update texttospeech.py
This commit is contained in:
parent
ec7d1c0a12
commit
18deefc83c
@ -109,6 +109,7 @@ class TextToSpeech(DVMTaskInterface):
|
||||
text=options["prompt"],
|
||||
speaker_wav=options["input_wav"], language=options["language"], file_path="outputs/output.wav")
|
||||
result = upload_media_to_hoster("outputs/output.wav")
|
||||
print(result)
|
||||
return result
|
||||
except Exception as e:
|
||||
print("Error in Module: " + str(e))
|
||||
|
Loading…
x
Reference in New Issue
Block a user