Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienDeepgram committed Jul 13, 2024
1 parent 98d3177 commit 7673cc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/transcription/live.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pub enum StreamResponse {
created: String,
duration: f64,
channels: u32,
}
},
}

#[pin_project]
Expand All @@ -118,7 +118,7 @@ impl Transcription<'_> {
pub fn stream_request_with_options<'a, E, S>(
&'a self,
options: Option<&'a Options>,
) -> StreamRequestBuilder<'a, S, E>
) -> StreamRequestBuilder<'a, S, E>
where
S: Stream<Item = std::result::Result<Bytes, E>>,
{
Expand Down
4 changes: 2 additions & 2 deletions src/transcription/prerecorded/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ pub enum Utterances {
/// Diabled
Disabled,
/// Enabled
Enabled {
Enabled {
/// utt_split
utt_split: Option<f64>,
},
Expand All @@ -441,7 +441,7 @@ pub enum Multichannel {
/// Diabled
Disabled,
/// Enabled
Enabled {
Enabled {
/// models
models: Option<Vec<Model>>,
},
Expand Down

0 comments on commit 7673cc3

Please sign in to comment.