Spaces:
Runtime error
Runtime error
use whisper-small-sinhala-12k model
#2
by
sana123
- opened
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 = "
|
8 |
|
9 |
device = 0 if torch.cuda.is_available() else "cpu"
|
10 |
|
|
|
4 |
import pytube as pt
|
5 |
from transformers import pipeline
|
6 |
|
7 |
+
MODEL_NAME = "lonewol7f/whisper-small-sinhala-12k"
|
8 |
|
9 |
device = 0 if torch.cuda.is_available() else "cpu"
|
10 |
|