Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -42,7 +42,7 @@ async def process_audio(file: UploadFile = File(...)):
|
|
42 |
file_location = save_directory / file.filename
|
43 |
|
44 |
with open(file_location, "wb") as saved_file:
|
45 |
-
saved_file.write(file.file.read())
|
46 |
|
47 |
# JP
|
48 |
original = pipe(file_location)
|
|
|
42 |
file_location = save_directory / file.filename
|
43 |
|
44 |
with open(file_location, "wb") as saved_file:
|
45 |
+
saved_file.write(file.file.read())
|
46 |
|
47 |
# JP
|
48 |
original = pipe(file_location)
|