Spaces:
Running
Running
Update audio_save.py
Browse files- audio_save.py +1 -1
audio_save.py
CHANGED
@@ -3,7 +3,7 @@ import shutil
|
|
3 |
import os
|
4 |
app = FastAPI()
|
5 |
|
6 |
-
if os.path.exists('./tarun_1234'):
|
7 |
os.mkdir('./tarun_1234')
|
8 |
|
9 |
@app.post("/save_audio")
|
|
|
3 |
import os
|
4 |
app = FastAPI()
|
5 |
|
6 |
+
if not os.path.exists('./tarun_1234'):
|
7 |
os.mkdir('./tarun_1234')
|
8 |
|
9 |
@app.post("/save_audio")
|