tttarun commited on
Commit
bc66078
1 Parent(s): a8fd7f4

Update audio_save.py

Browse files
Files changed (1) hide show
  1. audio_save.py +3 -3
audio_save.py CHANGED
@@ -9,10 +9,10 @@ if not os.path.exists('./tarun_1234'):
9
  @app.post("/save_audio")
10
  async def save_audio(audio: UploadFile = File(...), path: str = Form(...)):
11
 
12
- print('PATH ************************ >>>>>', path)
13
- folder_path = path.split('/')[0]
14
 
15
- print('FOLDER PATH ----------->>>>>>>>>>>>>>', folder_path)
16
 
17
  if not os.path.exists(folder_path):
18
  os.mkdir(folder_path)
 
9
  @app.post("/save_audio")
10
  async def save_audio(audio: UploadFile = File(...), path: str = Form(...)):
11
 
12
+ # print('PATH ************************ >>>>>', path)
13
+ folder_path = path.split('/')[1]
14
 
15
+ # print('FOLDER PATH ----------->>>>>>>>>>>>>>', folder_path)
16
 
17
  if not os.path.exists(folder_path):
18
  os.mkdir(folder_path)