Spaces:
Runtime error
Runtime error
ayberkuckun
commited on
Commit
•
775cdd5
1
Parent(s):
7c75617
model
Browse files
app.py
CHANGED
@@ -13,8 +13,7 @@ dataset_api = project.get_dataset_api()
|
|
13 |
|
14 |
dataset_api.download("Resources/titanic/images/latest_titanic.png", overwrite=True) # change link
|
15 |
|
16 |
-
pipe = pipeline(model="reyrobs/whisper-small-hi-2000-
|
17 |
-
|
18 |
|
19 |
def transcribe(url):
|
20 |
selected_video = YouTube(url)
|
|
|
13 |
|
14 |
dataset_api.download("Resources/titanic/images/latest_titanic.png", overwrite=True) # change link
|
15 |
|
16 |
+
pipe = pipeline(model="reyrobs/whisper-small-hi-2000-new", task="automatic-speech-recognition", chunk_length_s=30)
|
|
|
17 |
|
18 |
def transcribe(url):
|
19 |
selected_video = YouTube(url)
|