Spaces:
Sleeping
Sleeping
shripadbhat
commited on
Commit
•
e210445
1
Parent(s):
9c84dbd
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from transformers import pipeline
|
|
6 |
from huggingface_hub import model_info
|
7 |
|
8 |
MODEL_NAME = "shripadbhat/whisper-small-pa-IN" #this always needs to stay in line 8 :D sorry for the hackiness
|
9 |
-
lang = "
|
10 |
|
11 |
device = 0 if torch.cuda.is_available() else "cpu"
|
12 |
pipe = pipeline(
|
|
|
6 |
from huggingface_hub import model_info
|
7 |
|
8 |
MODEL_NAME = "shripadbhat/whisper-small-pa-IN" #this always needs to stay in line 8 :D sorry for the hackiness
|
9 |
+
lang = "panjabi"
|
10 |
|
11 |
device = 0 if torch.cuda.is_available() else "cpu"
|
12 |
pipe = pipeline(
|