tttarun commited on
Commit
e139a31
1 Parent(s): 8eb6a20

Update audio_save.py

Browse files
Files changed (1) hide show
  1. audio_save.py +3 -1
audio_save.py CHANGED
@@ -1,8 +1,10 @@
1
  from fastapi import FastAPI, File, Form, UploadFile
2
  import shutil
3
-
4
  app = FastAPI()
5
 
 
 
6
  @app.post("/save_audio")
7
  async def save_audio(audio: UploadFile = File(...), path: str = Form(...)):
8
 
 
1
  from fastapi import FastAPI, File, Form, UploadFile
2
  import shutil
3
+ import os
4
  app = FastAPI()
5
 
6
+ os.mkdir('./tarun_1234')
7
+
8
  @app.post("/save_audio")
9
  async def save_audio(audio: UploadFile = File(...), path: str = Form(...)):
10