Spaces:
Build error
Build error
change model name
Browse files
app.py
CHANGED
|
@@ -3,7 +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 |
BATCH_SIZE = 8
|
| 8 |
|
| 9 |
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"
|