dineshb commited on
Commit
9e623c4
Β·
1 Parent(s): dc7c88e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  import pytube as pt
5
  from transformers import pipeline
6
 
7
- MODEL_NAME = "openai/whisper-base"
8
  BATCH_SIZE = 8
9
 
10
  device = 0 if torch.cuda.is_available() else "cpu"
@@ -77,7 +77,6 @@ mf_transcribe = gr.Interface(
77
  layout="horizontal",
78
  theme="huggingface",
79
  title="Whisper Large V2: Transcribe Audio",
80
-
81
  description=(
82
  "Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the"
83
  f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and πŸ€— Transformers to transcribe audio files"
 
4
  import pytube as pt
5
  from transformers import pipeline
6
 
7
+ MODEL_NAME = "openai/whisper-large-v2"
8
  BATCH_SIZE = 8
9
 
10
  device = 0 if torch.cuda.is_available() else "cpu"
 
77
  layout="horizontal",
78
  theme="huggingface",
79
  title="Whisper Large V2: Transcribe Audio",
 
80
  description=(
81
  "Transcribe long-form microphone or audio inputs with the click of a button! Demo uses the"
82
  f" checkpoint [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) and πŸ€— Transformers to transcribe audio files"