Spaces:
Runtime error
Runtime error
amrelshall
commited on
Commit
•
9f4cea2
1
Parent(s):
a040725
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ from transformers import pipeline
|
|
3 |
asr = pipeline(task="automatic-speech-recognition",
|
4 |
model="distil-whisper/distil-small.en")
|
5 |
|
|
|
|
|
6 |
# now ho to make the demo take long time audio
|
7 |
def transcribe_long_form(filepath):
|
8 |
if filepath is None:
|
|
|
3 |
asr = pipeline(task="automatic-speech-recognition",
|
4 |
model="distil-whisper/distil-small.en")
|
5 |
|
6 |
+
import gradio as gr
|
7 |
+
|
8 |
# now ho to make the demo take long time audio
|
9 |
def transcribe_long_form(filepath):
|
10 |
if filepath is None:
|