Update README.md
Browse files
README.md
CHANGED
@@ -53,7 +53,10 @@ path = "<path-to-input-audio>" # TODO: pass the audio here
|
|
53 |
audio, sr = librosa.load(path, sr=16000)
|
54 |
|
55 |
|
56 |
-
|
|
|
|
|
|
|
57 |
```
|
58 |
|
59 |
|
|
|
53 |
audio, sr = librosa.load(path, sr=16000)
|
54 |
|
55 |
|
56 |
+
turns = [
|
57 |
+
{"role": "system", "content": "You are a friendly and helpful character. You love to answer questions for people."},
|
58 |
+
]
|
59 |
+
pipe({'audio': audio, turns=turns, 'sampling_rate': sr}, max_new_tokens=30)
|
60 |
```
|
61 |
|
62 |
|