huggingface / huggingface/candle

whisper example gives an error

Open Beginner friendly
#3,455 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
21k
Forks
1.8k
Avg merge
16h 42m
Merged PRs (30d)
25

Description

Running the command

`cargo run --example whisper-microphone --features microphone`

gives an error

```
error[E0433]: failed to resolve: could not find `FftFixedInOut` in `rubato`
--> candle-examples/src/audio.rs:118:33
|
118 | let mut resampler = rubato::FftFixedInOut::::new(sr_in as usize, sr_out as usize, 1024, 1)
| ^^^^^^^^^^^^^ could not find `FftFixedInOut` in `rubato`
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by rerunning `cargo run --example whisper-microphone --features microphone` and inspect `candle-examples/src/audio.rs` around line 118. Then check the project's `rubato` dependency declaration and its available API; done means the whisper microphone example builds and runs without the `FftFixedInOut` resolution error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
audio-video-rtc
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.