Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
MODEL_NAME = "BlueRaccoon/whisper-small-kab"
|
6 |
-
lang = "
|
7 |
|
8 |
device = 0 if torch.cuda.is_available() else "cpu"
|
9 |
pipe = pipeline(
|
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
MODEL_NAME = "BlueRaccoon/whisper-small-kab"
|
6 |
+
lang = "uz" # Used uz instead of kab
|
7 |
|
8 |
device = 0 if torch.cuda.is_available() else "cpu"
|
9 |
pipe = pipeline(
|