CsanadT commited on
Commit
e840b20
1 Parent(s): 8caf381

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = 'transcribe', model = 'openai/whisper-small')
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']