archit11 commited on
Commit
b3a7843
·
verified ·
1 Parent(s): 6d1feb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ class YouTubeTranscriber:
45
 
46
  def transcribe_audio(self, path: str) -> Generator:
47
  print(f"Reading {path}")
48
- segments, _ = self.model.transcribe(path)
49
  return segments
50
 
51
  def process_segments(self, segments: Generator) -> pd.DataFrame:
 
45
 
46
  def transcribe_audio(self, path: str) -> Generator:
47
  print(f"Reading {path}")
48
+ segments, _ = self.model.transcribe(path+".mp3")
49
  return segments
50
 
51
  def process_segments(self, segments: Generator) -> pd.DataFrame: