Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -37,7 +37,6 @@ async def process_audio(file: UploadFile = File(...)):
|
|
37 |
try:
|
38 |
# File
|
39 |
file_path = f"/home/user/{file.filename}"
|
40 |
-
file_path.mkdir(parents=True, exist_ok=True)
|
41 |
with open(file_path, "wb") as f:
|
42 |
f.write(file.file.read())
|
43 |
|
|
|
37 |
try:
|
38 |
# File
|
39 |
file_path = f"/home/user/{file.filename}"
|
|
|
40 |
with open(file_path, "wb") as f:
|
41 |
f.write(file.file.read())
|
42 |
|