Update README.md
Browse files
README.md
CHANGED
@@ -20,10 +20,10 @@ import transformers
|
|
20 |
import librosa
|
21 |
|
22 |
# load the model pipeline on gpu:0
|
23 |
-
pipe = transformers.pipeline(model='
|
24 |
|
25 |
# get a sample audio
|
26 |
-
# wget https://huggingface.co/
|
27 |
|
28 |
audio, _ = librosa.load("./hi-question.webm", sr=16000)
|
29 |
turns = [
|
|
|
20 |
import librosa
|
21 |
|
22 |
# load the model pipeline on gpu:0
|
23 |
+
pipe = transformers.pipeline(model='sarvamai/shuka_v1', trust_remote_code=True, device=0)
|
24 |
|
25 |
# get a sample audio
|
26 |
+
# wget https://huggingface.co/sarvamai/shuka_v1/resolve/main/hi-question.webm
|
27 |
|
28 |
audio, _ = librosa.load("./hi-question.webm", sr=16000)
|
29 |
turns = [
|