Update app.py
Browse files
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:
|