Spaces:
Running
Running
Upload infertest.py
Browse files- 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.
|
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)
|