Spaces:
Runtime error
Runtime error
GIanlucaRub
commited on
Commit
•
c731f97
1
Parent(s):
d7d6d65
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
from moviepy.editor import VideoFileClip
|
6 |
|
7 |
|
8 |
-
pipe = pipeline(model="GIanlucaRub/whisper-
|
9 |
|
10 |
def transcribe_yt(link):
|
11 |
yt = YouTube(link)
|
@@ -44,7 +44,7 @@ with block:
|
|
44 |
<h1 style="font-size: 400%;line-height: 1.2;">Whisper Italian Automatic Speech Recognition</h1>
|
45 |
</div>
|
46 |
<p style="margin-bottom: 10px; font-size: 150%;margin-top: 30px;line-height: 1.2;">
|
47 |
-
Realtime demo for Italian speech recognition using a fine-tuned Whisper
|
48 |
</p>
|
49 |
</div>
|
50 |
"""
|
|
|
5 |
from moviepy.editor import VideoFileClip
|
6 |
|
7 |
|
8 |
+
pipe = pipeline(model="GIanlucaRub/whisper-small-it-3",task="automatic-speech-recognition")
|
9 |
|
10 |
def transcribe_yt(link):
|
11 |
yt = YouTube(link)
|
|
|
44 |
<h1 style="font-size: 400%;line-height: 1.2;">Whisper Italian Automatic Speech Recognition</h1>
|
45 |
</div>
|
46 |
<p style="margin-bottom: 10px; font-size: 150%;margin-top: 30px;line-height: 1.2;">
|
47 |
+
Realtime demo for Italian speech recognition using a fine-tuned Whisper Small model.You can use the model in 4 different ways.
|
48 |
</p>
|
49 |
</div>
|
50 |
"""
|