smjain commited on
Commit
41b01c7
1 Parent(s): bf64974

Upload myinfer_latest.py

Browse files
Files changed (1) hide show
  1. myinfer_latest.py +2 -2
myinfer_latest.py CHANGED
@@ -138,8 +138,8 @@ def api_convert_voice():
138
  #split audio
139
  cut_vocal_and_inst(input_audio_path,spk_id)
140
  print("audio splitting performed")
141
- vocal_path = f"output/{split_model}/{spk_id}_input_audio/vocals.wav"
142
- inst = f"output/{split_model}/{spk_id}_input_audio/no_vocals.wav"
143
 
144
  output_path = convert_voice(spk_id, vocal_path, voice_transform)
145
  output_path1= combine_vocal_and_inst(output_path,inst)
 
138
  #split audio
139
  cut_vocal_and_inst(input_audio_path,spk_id)
140
  print("audio splitting performed")
141
+ vocal_path = f"output/{split_model}/{spk_id}_input_audio_{unique_id}/vocals.wav"
142
+ inst = f"output/{split_model}/{spk_id}_input_audio_{unique_id}/no_vocals.wav"
143
 
144
  output_path = convert_voice(spk_id, vocal_path, voice_transform)
145
  output_path1= combine_vocal_and_inst(output_path,inst)