rename WhisperContext
This commit is contained in:
parent
6e04f76e41
commit
8b587b97a9
2 changed files with 3 additions and 3 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue