Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ pipe = transformers.pipeline(model='sarvamai/shuka_v1', trust_remote_code=True,
|
|
25 |
# get a sample audio
|
26 |
# wget https://huggingface.co/sarvamai/shuka_v1/resolve/main/hi-question.webm
|
27 |
|
28 |
-
audio,
|
29 |
turns = [
|
30 |
{'role': 'system', 'content': 'Respond naturally and informatively.'},
|
31 |
{'role': 'user', 'content': '<|audio|>'}
|
|
|
25 |
# get a sample audio
|
26 |
# wget https://huggingface.co/sarvamai/shuka_v1/resolve/main/hi-question.webm
|
27 |
|
28 |
+
audio, sr = librosa.load("./hi-question.webm", sr=16000)
|
29 |
turns = [
|
30 |
{'role': 'system', 'content': 'Respond naturally and informatively.'},
|
31 |
{'role': 'user', 'content': '<|audio|>'}
|