gradioapp commited on
Commit
5a93e47
·
1 Parent(s): b17986d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import os
5
  openai.api_key = os.getenv("OPENAI_API_KEY")
6
 
7
  from transformers import pipeline
8
- p = pipeline("automatic-speech-recognition",model="openai/whisper-large-v2")
9
 
10
  def transcribe(audio):
11
  text = p(audio)["text"]
 
5
  openai.api_key = os.getenv("OPENAI_API_KEY")
6
 
7
  from transformers import pipeline
8
+ p = pipeline("automatic-speech-recognition",model="openai/whisper-tiny")
9
 
10
  def transcribe(audio):
11
  text = p(audio)["text"]