seiching commited on
Commit
c2c01b8
1 Parent(s): dccc7bb

change gradio 3.50 and model name

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +1 -0
app.py CHANGED
@@ -3,8 +3,8 @@ from transformers import pipeline
3
  from transformers.pipelines.audio_utils import ffmpeg_read
4
  import gradio as gr
5
 
6
- #MODEL_NAME = "seiching/whisper-small-seiching"
7
- MODEL_NAME = "openai/whisper-small"
8
  BATCH_SIZE = 8
9
 
10
  device = 0 if torch.cuda.is_available() else "cpu"
 
3
  from transformers.pipelines.audio_utils import ffmpeg_read
4
  import gradio as gr
5
 
6
+ MODEL_NAME = "seiching/whisper-small-seiching"
7
+ #MODEL_NAME = "openai/whisper-small"
8
  BATCH_SIZE = 8
9
 
10
  device = 0 if torch.cuda.is_available() else "cpu"
requirements.txt CHANGED
@@ -1,3 +1,4 @@
1
  --extra-index-url https://download.pytorch.org/whl/cu113
2
  torch
3
  transformers
 
 
1
  --extra-index-url https://download.pytorch.org/whl/cu113
2
  torch
3
  transformers
4
+ gradio==3.50