Skip to content

Commit

Permalink
Update default model for run_prosody_override.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Flux9665 authored Jul 25, 2024
1 parent bb7005c commit 7369f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_prosody_override.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from InferenceInterfaces.UtteranceCloner import UtteranceCloner

if __name__ == '__main__':
uc = UtteranceCloner(model_id="Nancy", device="cuda" if torch.cuda.is_available() else "cpu")
uc = UtteranceCloner(model_id="Meta", device="cuda" if torch.cuda.is_available() else "cpu" if torch.cuda.is_available() else "cpu")

# What is said in path_to_reference_audio_for_intonation has to match the text in the reference_transcription exactly!
uc.clone_utterance(path_to_reference_audio_for_intonation="audios/speaker_references_for_testing/sad.wav",
Expand Down

0 comments on commit 7369f73

Please sign in to comment.