mirror of
https://github.com/huggingface/candle.git
synced 2025-06-15 18:28:24 +00:00
More pretty printing.
This commit is contained in:
@ -187,6 +187,7 @@ fn main() -> Result<()> {
|
||||
let dr = dc.decode_with_fallback(&mel_segment)?;
|
||||
seek += segment_size;
|
||||
if dr.no_speech_prob > NO_SPEECH_THRESHOLD && dr.avg_logprob < LOGPROB_THRESHOLD {
|
||||
println!("no speech detected, skipping {seek} {dr:?}");
|
||||
continue;
|
||||
}
|
||||
let segment = Segment {
|
||||
|
Reference in New Issue
Block a user