Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from huggingface_hub import model_info
|
|
7 |
|
8 |
# MODEL_NAME = "openai/whisper-small" #this always needs to stay in line 8 :D sorry for the hackiness
|
9 |
MODEL_NAME = "amitkayal/whisper-small-hi"
|
10 |
-
lang = "
|
11 |
|
12 |
device = 0 if torch.cuda.is_available() else "cpu"
|
13 |
pipe = pipeline(
|
|
|
7 |
|
8 |
# MODEL_NAME = "openai/whisper-small" #this always needs to stay in line 8 :D sorry for the hackiness
|
9 |
MODEL_NAME = "amitkayal/whisper-small-hi"
|
10 |
+
lang = "hi"
|
11 |
|
12 |
device = 0 if torch.cuda.is_available() else "cpu"
|
13 |
pipe = pipeline(
|