Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CjangCjengh committed Sep 10, 2022
1 parent d59403f commit 0624484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MoeGoe.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def get_speaker_id(message):
while True:
audio_path = input('Path of an audio file to convert:\n')
print_speakers(speakers)
audio = utils.load_audio_to_torch(audio_path, hps_ms.data.sampling_rate).unsqueeze(0).unsqueeze(0)
audio = utils.load_audio_to_torch(audio_path, 16000).unsqueeze(0).unsqueeze(0)

target_id = get_speaker_id('Target speaker ID: ')
out_path = input('Path to save: ')
Expand Down

0 comments on commit 0624484

Please sign in to comment.