potsawee commited on
Commit
ada0e1e
1 Parent(s): bcce7a2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -62,7 +62,7 @@ response = model.generate(
62
  print(response)
63
  ```
64
  **Generation Parameters**:
65
- - wav_path (`str`) -- Path to the audio file (format = wav, flac, mp3, etc as long as `soundfile.read` supports)
66
  - prompt (`str`) -- Text input to the model
67
  - prompt_pattern (`str`) -- Chat template that is augmented with special tokens, and it must be set the same as one during training
68
  - max_new_tokens (`int`, *optional*, defaults to 1024)
 
62
  print(response)
63
  ```
64
  **Generation Parameters**:
65
+ - audio -- audio input, e.g., using `soundfile.read` or `librosa.resample` to read a wav file like the example above
66
  - prompt (`str`) -- Text input to the model
67
  - prompt_pattern (`str`) -- Chat template that is augmented with special tokens, and it must be set the same as one during training
68
  - max_new_tokens (`int`, *optional*, defaults to 1024)