Spaces:
Runtime error
Runtime error
Commit
•
dadf31e
1
Parent(s):
cb4ca4d
Updated the app.py with the model name shivkumarganesh/whisper-small-hi-v1 that is finetunes on whisper-small in hindi
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ import pytube as pt
|
|
5 |
from transformers import pipeline
|
6 |
from huggingface_hub import model_info
|
7 |
|
8 |
-
MODEL_NAME = "
|
9 |
-
lang = "
|
10 |
|
11 |
device = 0 if torch.cuda.is_available() else "cpu"
|
12 |
|
|
|
5 |
from transformers import pipeline
|
6 |
from huggingface_hub import model_info
|
7 |
|
8 |
+
MODEL_NAME = "shivkumarganesh/whisper-small-hi" #this always needs to stay in line 8 :D sorry for the hackiness
|
9 |
+
lang = "hi"
|
10 |
|
11 |
device = 0 if torch.cuda.is_available() else "cpu"
|
12 |
|