Spaces:
Runtime error
Runtime error
Add types
Browse filesSigned-off-by: smajumdar <titu1994@gmail.com>
app.py
CHANGED
@@ -477,7 +477,7 @@ def _return_yt_html_embed(yt_url):
|
|
477 |
return HTML_str
|
478 |
|
479 |
|
480 |
-
def yt_transcribe(yt_url, model_name):
|
481 |
""" Modified from https://huggingface.co/spaces/whisper-event/whisper-demo """
|
482 |
if yt_url == "":
|
483 |
text = ""
|
|
|
477 |
return HTML_str
|
478 |
|
479 |
|
480 |
+
def yt_transcribe(yt_url: str, model_name: str):
|
481 |
""" Modified from https://huggingface.co/spaces/whisper-event/whisper-demo """
|
482 |
if yt_url == "":
|
483 |
text = ""
|