Kryptone commited on
Commit
a669461
·
verified ·
1 Parent(s): efa3e04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -185,7 +185,6 @@ def mp4_to_wav_or_mp3(mp4fileuploader, file_format):
185
  videoinput.close()
186
  what_to_return = "convertedaudio.wav" if file_format == "wav" else "convertedaudio.mp3"
187
  os.remove(mp4fileuploader)
188
- os.remove(what_to_return)
189
  return "Converted mp4 file successfully!", what_to_return
190
  except:
191
  raise gr.Error(traceback.format_exc())
 
185
  videoinput.close()
186
  what_to_return = "convertedaudio.wav" if file_format == "wav" else "convertedaudio.mp3"
187
  os.remove(mp4fileuploader)
 
188
  return "Converted mp4 file successfully!", what_to_return
189
  except:
190
  raise gr.Error(traceback.format_exc())