mirror of
https://github.com/kyutai-labs/delayed-streams-modeling.git
synced 2025-12-25 20:39:56 +00:00
Clippy fix. (#122)
This commit is contained in:
@@ -204,6 +204,7 @@ impl Model {
|
|||||||
}
|
}
|
||||||
moshi::asr::AsrMsg::EndWord { stop_time, .. } => {
|
moshi::asr::AsrMsg::EndWord { stop_time, .. } => {
|
||||||
printed_eot = false;
|
printed_eot = false;
|
||||||
|
#[allow(clippy::collapsible_if)]
|
||||||
if self.timestamps {
|
if self.timestamps {
|
||||||
if let Some((word, start_time)) = last_word.take() {
|
if let Some((word, start_time)) = last_word.take() {
|
||||||
println!("[{start_time:5.2}-{stop_time:5.2}] {word}");
|
println!("[{start_time:5.2}-{stop_time:5.2}] {word}");
|
||||||
|
|||||||
Reference in New Issue
Block a user