smjain commited on
Commit
54230e1
·
verified ·
1 Parent(s): 19d9877

Upload infertest.py

Browse files
Files changed (1) hide show
  1. infertest.py +1 -1
infertest.py CHANGED
@@ -116,7 +116,7 @@ def api_convert_voice():
116
  audio_bytes = base64.b64decode(audio_data)
117
 
118
  # Create a temporary file to save the decoded audio
119
- temp_audio_path = os.path.join(tmp, f"{spk_id}_input_audio.wav")
120
 
121
  with open(temp_audio_path, 'wb') as temp_audio_file:
122
  temp_audio_file.write(audio_bytes)
 
116
  audio_bytes = base64.b64decode(audio_data)
117
 
118
  # Create a temporary file to save the decoded audio
119
+ temp_audio_path = os.path.join(tmp, f"{spk_id}_input_audio.mp3")
120
 
121
  with open(temp_audio_path, 'wb') as temp_audio_file:
122
  temp_audio_file.write(audio_bytes)