Spaces:
Running
Running
Update audio_save.py
Browse files- audio_save.py +1 -1
audio_save.py
CHANGED
@@ -23,7 +23,7 @@ async def save_audio(audio: UploadFile = File(...), path: str = Form(...)):
|
|
23 |
|
24 |
print("Received Audio !!!!!")
|
25 |
|
26 |
-
Save the audio to the specified path
|
27 |
with open(path, "wb") as buffer:
|
28 |
shutil.copyfileobj(audio.file, buffer)
|
29 |
|
|
|
23 |
|
24 |
print("Received Audio !!!!!")
|
25 |
|
26 |
+
# Save the audio to the specified path
|
27 |
with open(path, "wb") as buffer:
|
28 |
shutil.copyfileobj(audio.file, buffer)
|
29 |
|