Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -82,7 +82,7 @@ def transcribe_from_youtube(url, apply_wiener_filter, apply_normalization, apply
|
|
82 |
except Exception as e:
|
83 |
return str(e), None
|
84 |
|
85 |
-
return transcription, audio.numpy()
|
86 |
|
87 |
def populate_metadata(url):
|
88 |
yt = YouTube(url)
|
|
|
82 |
except Exception as e:
|
83 |
return str(e), None
|
84 |
|
85 |
+
return transcription, (16000, audio.numpy())
|
86 |
|
87 |
def populate_metadata(url):
|
88 |
yt = YouTube(url)
|