Commit
•
78612f7
1
Parent(s):
36dc535
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
3 |
from transformers.pipelines.audio_utils import ffmpeg_read
|
4 |
import gradio as gr
|
5 |
|
6 |
-
MODEL_NAME = "openai/whisper-
|
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 = "openai/whisper-small"
|
7 |
BATCH_SIZE = 8
|
8 |
|
9 |
device = 0 if torch.cuda.is_available() else "cpu"
|