RASMUS commited on
Commit
5bab390
1 Parent(s): 9f5577b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -51,7 +51,6 @@ def speech_to_text(audio_path, whisper_model):
51
  try:
52
 
53
  df = pd.DataFrame(columns = ['start','end','text'])
54
- srt_path = str(audio_path.replace(file_ending, ".wav")) + ".srt"
55
  subs = pysrt.open(srt_path)
56
 
57
 
 
51
  try:
52
 
53
  df = pd.DataFrame(columns = ['start','end','text'])
 
54
  subs = pysrt.open(srt_path)
55
 
56