Spaces:
Sleeping
Sleeping
Commit
·
532c613
1
Parent(s):
2eaf5dd
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def english_sum_pipeline(link):
|
|
24 |
#audio-to-text
|
25 |
transcriptor = whisper.load_model("base.en")
|
26 |
directory = os.getcwd()
|
27 |
-
result =
|
28 |
transcript_text = result["text"]
|
29 |
|
30 |
#extractive summarization
|
|
|
24 |
#audio-to-text
|
25 |
transcriptor = whisper.load_model("base.en")
|
26 |
directory = os.getcwd()
|
27 |
+
result = transcriptor.transcribe(os.path.join(directory, "video.mp3"))
|
28 |
transcript_text = result["text"]
|
29 |
|
30 |
#extractive summarization
|