Spaces:
Sleeping
Sleeping
Upload infertest.py
Browse files115 unmodified lines116117118119119120121122115 unmodified lines audio_bytes = base64.b64decode(audio_data) # Create a temporary file to save the decoded audio temp_audio_path = os.path.join(tmp, f"{spk_id}_input_audio.wav") temp_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