mirror of
https://github.com/xzeldon/whisper-api-server.git
synced 2024-12-25 05:45:46 +00:00
remove unnecessary flags
This commit is contained in:
parent
7b0797cca1
commit
7d6be4b7d3
@ -41,9 +41,6 @@ func InitializeWhisperState(modelPath string) (*WhisperState, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
params.AddFlags(whisper.FlagNoContext)
|
||||
params.AddFlags(whisper.FlagTokenTimestamps)
|
||||
|
||||
fmt.Printf("Params CPU Threads : %d\n", params.CpuThreads())
|
||||
|
||||
return &WhisperState{
|
||||
|
Loading…
Reference in New Issue
Block a user