farzadab commited on
Commit
7978a56
·
verified ·
1 Parent(s): f807815

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
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
- pipe({'audio': audio, prompt='<|audio|>', 'sampling_rate': sr}, max_new_tokens=30)
 
 
 
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