aiola commited on
Commit
ada2b9e
1 Parent(s): 363ec96

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -78,7 +78,7 @@ with torch.no_grad():
78
 
79
  # post-process token ids to text, remove prompt
80
  transcription = processor.batch_decode(
81
- predicted_ids[:, prompt_ids.shape[0]:], skip_special_tokens=True
82
  )[0]
83
  print(transcription)
84
  ```
 
78
 
79
  # post-process token ids to text, remove prompt
80
  transcription = processor.batch_decode(
81
+ predicted_ids, skip_special_tokens=True
82
  )[0]
83
  print(transcription)
84
  ```