]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
whisper : fix hebrew language code (#935)
authorElkana Bardugo <redacted>
Sat, 20 May 2023 15:17:54 +0000 (18:17 +0300)
committerGitHub <redacted>
Sat, 20 May 2023 15:17:54 +0000 (18:17 +0300)
whisper.cpp

index a7d736d6646cd05a7389aefbf2d8c0b3b3c6a47b..6faa3f2f543cdcc3069038b8752e7d4f4069dad0 100644 (file)
@@ -139,7 +139,7 @@ static const std::map<std::string, std::pair<int, std::string>> g_lang = {
     { "hi",  { 17,  "hindi",          } },
     { "fi",  { 18,  "finnish",        } },
     { "vi",  { 19,  "vietnamese",     } },
-    { "iw",  { 20,  "hebrew",         } },
+    { "he",  { 20,  "hebrew",         } },
     { "uk",  { 21,  "ukrainian",      } },
     { "el",  { 22,  "greek",          } },
     { "ms",  { 23,  "malay",          } },