Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ model = whisper.load_model("base")
|
|
9 |
summarizer = pipeline("summarization")
|
10 |
|
11 |
def get_audio(url):
|
12 |
-
try:
|
13 |
yt = YouTube(url)
|
14 |
if yt.length < 5400:
|
15 |
video = yt.streams.filter(only_audio=True).first()
|
|
|
9 |
summarizer = pipeline("summarization")
|
10 |
|
11 |
def get_audio(url):
|
12 |
+
#try:
|
13 |
yt = YouTube(url)
|
14 |
if yt.length < 5400:
|
15 |
video = yt.streams.filter(only_audio=True).first()
|