KingNish commited on
Commit
f3e7aa7
·
verified ·
1 Parent(s): baba70b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -34,9 +34,6 @@ def transcribe(inputs, previous_transcription):
34
  transcription = pipe(filepath, batch_size=BATCH_SIZE, generate_kwargs={"task": "transcribe"}, return_timestamps=False)["text"]
35
  previous_transcription += transcription
36
 
37
- # Remove the Temporary File after Transcription
38
- os.remove(filepath)
39
-
40
  return previous_transcription
41
  except Exception as e:
42
  print(f"Error during Transcription: {e}")
 
34
  transcription = pipe(filepath, batch_size=BATCH_SIZE, generate_kwargs={"task": "transcribe"}, return_timestamps=False)["text"]
35
  previous_transcription += transcription
36
 
 
 
 
37
  return previous_transcription
38
  except Exception as e:
39
  print(f"Error during Transcription: {e}")