rename WhisperContext

This commit is contained in:
jiahua 2024-04-25 16:01:20 +08:00
parent 6e04f76e41
commit 8b587b97a9
2 changed files with 3 additions and 3 deletions

View file

@ -3,11 +3,11 @@ use std::sync::Arc;
use crate::{WhisperInnerContext, WhisperContextParameters, WhisperError, WhisperState, WhisperToken};
pub struct WhisperContextWrapper {
pub struct WhisperContext {
ctx: Arc<WhisperInnerContext>,
}
impl WhisperContextWrapper {
impl WhisperContext {
fn wrap(ctx: WhisperInnerContext) -> Self {
Self {
ctx: Arc::new(ctx),