Spaces:
Runtime error
Runtime error
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 = "
|
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 = "jason1i/whisper-small-zh-HK"
|
7 |
BATCH_SIZE = 8
|
8 |
|
9 |
device = 0 if torch.cuda.is_available() else "cpu"
|