mirror of
https://github.com/huggingface/candle.git
synced 2025-06-18 19:47:12 +00:00
Clean the decode loop of the whisper example.
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
// We use anyhow rather than candle errors as it provides better support for getting the backtrace
|
||||
// back when using RUST_LIB_BACKTRACE=1.
|
||||
use anyhow::Result;
|
||||
use candle::{safetensors::SafeTensors, DType, Device, Shape, Tensor};
|
||||
use std::collections::HashMap;
|
||||
|
Reference in New Issue
Block a user