Fix doctests
This commit is contained in:
parent
249b7321c9
commit
bdf1862d5b
1 changed files with 1 additions and 0 deletions
|
|
@ -593,6 +593,7 @@ impl<'a, 'b> FullParams<'a, 'b> {
|
|||
///
|
||||
/// # Examples
|
||||
/// ```
|
||||
/// # use whisper_rs::{FullParams, SamplingStrategy};
|
||||
/// let mut params = FullParams::new(SamplingStrategy::default());
|
||||
/// params.set_initial_prompt("Hello, world!");
|
||||
/// // ... further usage of params ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue