mirror of
https://github.com/xzeldon/whisper-api-server.git
synced 2025-04-05 15:57:10 +03:00
Compare commits
No commits in common. "bf826430906e987355cfeed0136a079c6c345297" and "58773c5ac154b88fd927e6d33c71f84f36beb241" have entirely different histories.
bf82643090
...
58773c5ac1
@ -66,8 +66,6 @@ func ParseFlags() (*ParsedArguments, error) {
|
||||
|
||||
var parsedArgs *ParsedArguments
|
||||
|
||||
cobra.MousetrapHelpText = ""
|
||||
|
||||
rootCmd := &cobra.Command{
|
||||
Use: "whisper",
|
||||
Short: "Audio transcription using the OpenAI Whisper models",
|
||||
@ -75,7 +73,7 @@ func ParseFlags() (*ParsedArguments, error) {
|
||||
// Process language code with fallback
|
||||
languageCode, err := processLanguageAndCode(args.Language)
|
||||
if err != nil {
|
||||
fmt.Println("Error setting language, defaulting to English")
|
||||
fmt.Printf("Error setting language, defaulting to English")
|
||||
// Default to English
|
||||
languageCode = 0x6E65
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user