Another003 commited on
Commit
c7385da
·
verified ·
1 Parent(s): b6bfcdb

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -1
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