Skip to content

Commit

Permalink
Fix parallel processing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
robinhad committed Oct 18, 2023
1 parent 7b5a889 commit 6119fad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,8 @@ class VoiceOption(Enum):
print(f"CUDA available? {is_available()}")


ukr_tts = TTS(device="cuda" if is_available() else "cpu")


def tts(text: str, voice: str):
ukr_tts = TTS(device="cuda" if is_available() else "cpu") # TODO: fix
print("============================")
print("Original text:", text)
print("Voice", voice)
Expand Down

0 comments on commit 6119fad

Please sign in to comment.