Spaces:
Sleeping
Sleeping
Upload infertest.py
Browse files115 unmodified lines116117118119120121122115 unmodified linesaudio_bytes = base64.b64decode(audio_data)# Create a temporary file to save the decoded audiotemp_audio_path = os.path.join(tmp, f"{spk_id}_input_audio.wav")with open(temp_audio_path, 'wb') as temp_audio_file:temp_audio_file.write(audio_bytes)115 unmodified lines116117118119120121122115 unmodified linesaudio_bytes = base64.b64decode(audio_data)# Create a temporary file to save the decoded audiotemp_audio_path = os.path.join(tmp, f"{spk_id}_input_audio.mp3")with open(temp_audio_path, 'wb') as temp_audio_file:temp_audio_file.write(audio_bytes)
infertest.py+1-1