Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
|
|
2 |
import gradio as gr
|
3 |
from pytube import YouTube
|
4 |
|
5 |
-
pipe = pipeline(task = '
|
6 |
|
7 |
def live_performance(audio):
|
8 |
text = pipe(audio)['text']
|
|
|
2 |
import gradio as gr
|
3 |
from pytube import YouTube
|
4 |
|
5 |
+
pipe = pipeline(task = 'transcribe', model = 'openai/whisper-small')
|
6 |
|
7 |
def live_performance(audio):
|
8 |
text = pipe(audio)['text']
|