Spaces:
Runtime error
Runtime error
hedronstone
commited on
Commit
•
e61dc16
1
Parent(s):
ecc783e
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import pytube as pt
|
|
5 |
from transformers import pipeline
|
6 |
from huggingface_hub import model_info
|
7 |
|
8 |
-
MODEL_NAME = "hedronstone/whisper-small-sw/weights/pytorch
|
9 |
lang = "sw"
|
10 |
|
11 |
device = 0 if torch.cuda.is_available() else "cpu"
|
|
|
5 |
from transformers import pipeline
|
6 |
from huggingface_hub import model_info
|
7 |
|
8 |
+
MODEL_NAME = "hedronstone/whisper-small-sw/tree/main/weights/pytorch" #this always needs to stay in line 8 :D sorry for the hackiness
|
9 |
lang = "sw"
|
10 |
|
11 |
device = 0 if torch.cuda.is_available() else "cpu"
|