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(
|
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(model = 'openai/whisper-small')
|
6 |
|
7 |
def live_performance(audio):
|
8 |
text = pipe(audio)['text']
|