Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -103,9 +103,9 @@ async def test(file: UploadFile = File(...),
|
|
103 |
finally:
|
104 |
if file.file:
|
105 |
file.file.close()
|
106 |
-
if os.path.exists(file.filename)
|
107 |
os.remove(file.filename)
|
108 |
-
if os.path.exists("only_speech.wav")
|
109 |
os.remove("only_speech.wav")
|
110 |
|
111 |
|
|
|
103 |
finally:
|
104 |
if file.file:
|
105 |
file.file.close()
|
106 |
+
if os.path.exists(file.filename):
|
107 |
os.remove(file.filename)
|
108 |
+
if os.path.exists("only_speech.wav"):
|
109 |
os.remove("only_speech.wav")
|
110 |
|
111 |
|