Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump whisper cpp ver #199

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/actions/build-plugin/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ runs:
if (( ${+RUNNER_DEBUG} )) build_args+=(--debug)

.github/scripts/build-linux ${build_args}
env:
ACCELERATION: ${{ inputs.acceleration }}

- name: Run Windows Build
if: runner.os == 'Windows'
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/build-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ jobs:
name: Build for Ubuntu 🐧
runs-on: ubuntu-22.04
needs: check-event
strategy:
matrix:
acceleration: [cpu, vulkan]
defaults:
run:
shell: bash
Expand Down Expand Up @@ -213,6 +216,7 @@ jobs:
with:
target: x86_64
config: ${{ needs.check-event.outputs.config }}
acceleration: ${{ matrix.acceleration }}

- name: Package Plugin 📀
uses: ./.github/actions/package-plugin
Expand All @@ -230,15 +234,15 @@ jobs:
- name: Upload Artifacts 📡
uses: actions/upload-artifact@v4
with:
name: ${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-ubuntu-22.04-x86_64-${{ needs.check-event.outputs.commitHash }}
path: ${{ github.workspace }}/release/${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-x86_64*.*
name: ${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-ubuntu-22.04-x86_64-${{ matrix.acceleration }}-${{ needs.check-event.outputs.commitHash }}
path: ${{ github.workspace }}/release/${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-x86_64-${{ matrix.acceleration }}*.*

- name: Upload debug symbol artifacts 🪲
uses: actions/upload-artifact@v4
if: ${{ fromJSON(needs.check-event.outputs.package) }}
with:
name: ${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-ubuntu-22.04-x86_64-${{ needs.check-event.outputs.commitHash }}-dbgsym
path: ${{ github.workspace }}/release/${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-x86_64*-dbgsym.ddeb
name: ${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-ubuntu-22.04-x86_64-${{ matrix.acceleration }}-${{ needs.check-event.outputs.commitHash }}-dbgsym
path: ${{ github.workspace }}/release/${{ steps.setup.outputs.pluginName }}-${{ steps.setup.outputs.pluginVersion }}-x86_64-${{ matrix.acceleration }}*-dbgsym.ddeb

windows-build:
name: Build for Windows 🪟
Expand Down
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,19 @@ else()
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE libcurl)
endif()

if(WIN32)
if(WIN32 OR (UNIX AND NOT APPLE))
if(DEFINED ENV{ACCELERATION})
set(ACCELERATION
$ENV{ACCELERATION}
CACHE STRING "Acceleration to use" FORCE)
endif()

if(NOT DEFINED ACCELERATION)
set(ACCELERATION
"cpu"
CACHE STRING "Acceleration to use")
endif()

set_property(CACHE ACCELERATION PROPERTY STRINGS "cpu" "hipblas" "cuda" "vulkan")
endif()

Expand Down Expand Up @@ -97,6 +99,7 @@ else()
endif()

include(cmake/BuildICU.cmake)

# Add ICU to the target
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE ICU)
target_include_directories(${CMAKE_PROJECT_NAME} SYSTEM PUBLIC ${ICU_INCLUDE_DIR})
Expand Down
219 changes: 164 additions & 55 deletions cmake/BuildWhispercpp.cmake
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
include(ExternalProject)
include(FetchContent)

set(PREBUILT_WHISPERCPP_VERSION "0.0.7")
set(PREBUILT_WHISPERCPP_VERSION "0.0.8")
set(PREBUILT_WHISPERCPP_URL_BASE
"https://github.com/locaal-ai/occ-ai-dep-whispercpp/releases/download/${PREBUILT_WHISPERCPP_VERSION}")

if(APPLE)
# check the "MACOS_ARCH" env var to figure out if this is x86 or arm64
if($ENV{MACOS_ARCH} STREQUAL "x86_64")
set(WHISPER_CPP_HASH "dc7fd5ff9c7fbb8623f8e14d9ff2872186cab4cd7a52066fcb2fab790d6092fc")
set(WHISPER_CPP_HASH "ac355e3f858c707897d8e0630ff85b3786ef76b84bbb23841561b3d26629e80a")
elseif($ENV{MACOS_ARCH} STREQUAL "arm64")
set(WHISPER_CPP_HASH "ebed595ee431b182261bce41583993b149eed539e15ebf770d98a6bc85d53a92")
set(WHISPER_CPP_HASH "9e1f22a25f19be7eb370fc7264318de1d97e28e9059f115f4c8a7b0ef3e72678")
else()
message(
FATAL_ERROR
"The MACOS_ARCH environment variable is not set to a valid value. Please set it to either `x86_64` or `arm64`")
endif()

set(WHISPER_CPP_URL
"${PREBUILT_WHISPERCPP_URL_BASE}/whispercpp-macos-$ENV{MACOS_ARCH}-${PREBUILT_WHISPERCPP_VERSION}.tar.gz")

Expand All @@ -37,13 +38,27 @@ if(APPLE)
Whispercpp::GGML
PROPERTIES IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml${CMAKE_STATIC_LIBRARY_SUFFIX})

add_library(Whispercpp::CoreML STATIC IMPORTED)
add_library(Whispercpp::GGMLBase STATIC IMPORTED)
set_target_properties(
Whispercpp::CoreML
PROPERTIES
IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}whisper.coreml${CMAKE_STATIC_LIBRARY_SUFFIX})
Whispercpp::GGMLBase
PROPERTIES IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml-base${CMAKE_STATIC_LIBRARY_SUFFIX})
add_library(Whispercpp::GGMLCPU STATIC IMPORTED)
set_target_properties(
Whispercpp::GGMLCPU
PROPERTIES IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml-cpu${CMAKE_STATIC_LIBRARY_SUFFIX})
add_library(Whispercpp::GGMLMetal STATIC IMPORTED)
set_target_properties(
Whispercpp::GGMLMetal
PROPERTIES IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml-metal${CMAKE_STATIC_LIBRARY_SUFFIX}
)
add_library(Whispercpp::GGMLBlas STATIC IMPORTED)
set_target_properties(
Whispercpp::GGMLBlas
PROPERTIES IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml-blas${CMAKE_STATIC_LIBRARY_SUFFIX})

elseif(WIN32)
if(NOT DEFINED ACCELERATION)
Expand All @@ -53,17 +68,18 @@ elseif(WIN32)
set(ARCH_PREFIX ${ACCELERATION})
set(WHISPER_CPP_URL
"${PREBUILT_WHISPERCPP_URL_BASE}/whispercpp-windows-${ARCH_PREFIX}-${PREBUILT_WHISPERCPP_VERSION}.zip")
if(${ACCELERATION} STREQUAL "cpu")
set(WHISPER_CPP_HASH "c23862b4aac7d8448cf7de4d339a86498f88ecba6fa7d243bbd7fabdb13d4dd4")

if("${ACCELERATION}" STREQUAL "cpu")
set(WHISPER_CPP_HASH "cb25c675a01f98bc1cd544187945636d9f7fbaffcfc08699d5edbd29be137e0b")
add_compile_definitions("LOCALVOCAL_WITH_CPU")
elseif(${ACCELERATION} STREQUAL "cuda")
set(WHISPER_CPP_HASH "a0adeaccae76fab0678d016a62b79a19661ed34eb810d8bae3b610345ee9a405")
elseif("${ACCELERATION}" STREQUAL "cuda")
set(WHISPER_CPP_HASH "672fd34841436261937d5701bf80945ddb8194f033768bb4d7b3becbdf1f66c0")
add_compile_definitions("LOCALVOCAL_WITH_CUDA")
elseif(${ACCELERATION} STREQUAL "hipblas")
set(WHISPER_CPP_HASH "bbad0b4eec01c5a801d384c03745ef5e97061958f8cf8f7724281d433d7d92a1")
elseif("${ACCELERATION}" STREQUAL "hipblas")
set(WHISPER_CPP_HASH "3f4f16aa6bc9bb6326e86868603136502baef108a339bc4e42bb51654c935120")
add_compile_definitions("LOCALVOCAL_WITH_HIPBLAS")
elseif(${ACCELERATION} STREQUAL "vulkan")
set(WHISPER_CPP_HASH "12bb34821f9efcd31f04a487569abff2b669221f2706fe0d09c17883635ef58a")
elseif("${ACCELERATION}" STREQUAL "vulkan")
set(WHISPER_CPP_HASH "46bbcf96cc20a92b36e47ebfabd6c9d581480f38bce72cee16c16e78d7e8c557")
add_compile_definitions("LOCALVOCAL_WITH_VULKAN")
else()
message(
Expand All @@ -88,74 +104,167 @@ elseif(WIN32)
Whispercpp::Whisper
PROPERTIES IMPORTED_IMPLIB
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}whisper${CMAKE_STATIC_LIBRARY_SUFFIX})

add_library(Whispercpp::GGML SHARED IMPORTED)
set_target_properties(
Whispercpp::GGML
PROPERTIES IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/bin/${CMAKE_SHARED_LIBRARY_PREFIX}ggml${CMAKE_SHARED_LIBRARY_SUFFIX})
set_target_properties(
Whispercpp::GGML
PROPERTIES IMPORTED_IMPLIB
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml${CMAKE_STATIC_LIBRARY_SUFFIX})

add_library(Whispercpp::GGMLBase SHARED IMPORTED)
set_target_properties(
Whispercpp::GGMLBase
PROPERTIES IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/bin/${CMAKE_SHARED_LIBRARY_PREFIX}ggml-base${CMAKE_SHARED_LIBRARY_SUFFIX})
set_target_properties(
Whispercpp::GGMLBase
PROPERTIES IMPORTED_IMPLIB
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml-base${CMAKE_STATIC_LIBRARY_SUFFIX})

add_library(Whispercpp::GGMLCPU SHARED IMPORTED)
set_target_properties(
Whispercpp::GGMLCPU
PROPERTIES IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/bin/${CMAKE_SHARED_LIBRARY_PREFIX}ggml-cpu${CMAKE_SHARED_LIBRARY_SUFFIX})
set_target_properties(
Whispercpp::GGMLCPU
PROPERTIES IMPORTED_IMPLIB
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml-cpu${CMAKE_STATIC_LIBRARY_SUFFIX})

set_target_properties(Whispercpp::Whisper PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
${whispercpp_fetch_SOURCE_DIR}/include)

if(${ACCELERATION} STREQUAL "cpu")
if("${ACCELERATION}" STREQUAL "cpu")
# add openblas to the link line
add_library(Whispercpp::OpenBLAS STATIC IMPORTED)
set_target_properties(Whispercpp::OpenBLAS PROPERTIES IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/lib/libopenblas.dll.a)
endif()

if("${ACCELERATION}" STREQUAL "cuda")
# add cuda to the link line
add_library(Whispercpp::GGMLCUDA SHARED IMPORTED)
set_target_properties(
Whispercpp::GGMLCUDA
PROPERTIES
IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/bin/${CMAKE_SHARED_LIBRARY_PREFIX}ggml-cuda${CMAKE_SHARED_LIBRARY_SUFFIX})
set_target_properties(
Whispercpp::GGMLCUDA
PROPERTIES
IMPORTED_IMPLIB
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml-cuda${CMAKE_STATIC_LIBRARY_SUFFIX})
endif()

if("${ACCELERATION}" STREQUAL "vulkan")
# add cuda to the link line
add_library(Whispercpp::GGMLVulkan SHARED IMPORTED)
set_target_properties(
Whispercpp::GGMLVulkan
PROPERTIES
IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/bin/${CMAKE_SHARED_LIBRARY_PREFIX}ggml-vulkan${CMAKE_SHARED_LIBRARY_SUFFIX})
set_target_properties(
Whispercpp::GGMLVulkan
PROPERTIES
IMPORTED_IMPLIB
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml-vulkan${CMAKE_STATIC_LIBRARY_SUFFIX})
endif()

# glob all dlls in the bin directory and install them
file(GLOB WHISPER_DLLS ${whispercpp_fetch_SOURCE_DIR}/bin/*.dll)
install(FILES ${WHISPER_DLLS} DESTINATION "obs-plugins/64bit")
else()
# Enable ccache if available
find_program(CCACHE_PROGRAM ccache)
if(CCACHE_PROGRAM)
message(STATUS "Found ccache: ${CCACHE_PROGRAM}")
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE_PROGRAM})
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE_PROGRAM})
if(NOT DEFINED ACCELERATION)
message(FATAL_ERROR "ACCELERATION is not set. Please set it to either `cpu`, or `vulkan`")
endif()

if(${CMAKE_BUILD_TYPE} STREQUAL Release OR ${CMAKE_BUILD_TYPE} STREQUAL RelWithDebInfo)
set(Whispercpp_BUILD_TYPE Release)
set(WHISPER_CPP_URL "${PREBUILT_WHISPERCPP_URL_BASE}/whispercpp-linux-x86_64-${ACCELERATION}-Release.tar.gz")

if("${ACCELERATION}" STREQUAL "cpu")
set(WHISPER_CPP_HASH "b6a30f0e995070145ae10e58a656449fee00dd69c53c49ffef4597b07bcb3c2a")
add_compile_definitions("LOCALVOCAL_WITH_CPU")
elseif("${ACCELERATION}" STREQUAL "vulkan")
set(WHISPER_CPP_HASH "6c5fe9c6a35b5f7f63a968b4fbbc8e05e888cc887aadbb8d82cf7e39da8ec163")
add_compile_definitions("LOCALVOCAL_WITH_VULKAN")
else()
set(Whispercpp_BUILD_TYPE Debug)
message(
FATAL_ERROR
"The ACCELERATION environment variable is not set to a valid value. Please set it to either `cpu` or `vulkan`")
endif()
set(Whispercpp_Build_GIT_TAG "v1.6.2")
set(WHISPER_EXTRA_CXX_FLAGS "-fPIC")
set(WHISPER_ADDITIONAL_CMAKE_ARGS -DWHISPER_BLAS=OFF -DWHISPER_CUBLAS=OFF -DWHISPER_OPENBLAS=OFF)

# On Linux build a static Whisper library
ExternalProject_Add(
Whispercpp_Build
DOWNLOAD_EXTRACT_TIMESTAMP true
GIT_REPOSITORY https://github.com/ggerganov/whisper.cpp.git
GIT_TAG ${Whispercpp_Build_GIT_TAG}
BUILD_COMMAND ${CMAKE_COMMAND} --build <BINARY_DIR> --config ${Whispercpp_BUILD_TYPE}
BUILD_BYPRODUCTS <INSTALL_DIR>/lib/static/${CMAKE_STATIC_LIBRARY_PREFIX}whisper${CMAKE_STATIC_LIBRARY_SUFFIX}
CMAKE_GENERATOR ${CMAKE_GENERATOR}
INSTALL_COMMAND ${CMAKE_COMMAND} --install <BINARY_DIR> --config ${Whispercpp_BUILD_TYPE} && ${CMAKE_COMMAND} -E
copy <SOURCE_DIR>/ggml.h <INSTALL_DIR>/include
CONFIGURE_COMMAND
${CMAKE_COMMAND} -E env ${WHISPER_ADDITIONAL_ENV} ${CMAKE_COMMAND} <SOURCE_DIR> -B <BINARY_DIR> -G
${CMAKE_GENERATOR} -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR> -DCMAKE_BUILD_TYPE=${Whispercpp_BUILD_TYPE}
-DCMAKE_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM} -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13
-DCMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES_} -DCMAKE_CXX_FLAGS=${WHISPER_EXTRA_CXX_FLAGS}
-DCMAKE_C_FLAGS=${WHISPER_EXTRA_CXX_FLAGS} -DBUILD_SHARED_LIBS=OFF -DWHISPER_BUILD_TESTS=OFF
-DWHISPER_BUILD_EXAMPLES=OFF ${WHISPER_ADDITIONAL_CMAKE_ARGS})

ExternalProject_Get_Property(Whispercpp_Build INSTALL_DIR)

FetchContent_Declare(
whispercpp_fetch
URL ${WHISPER_CPP_URL}
URL_HASH SHA256=${WHISPER_CPP_HASH}
DOWNLOAD_EXTRACT_TIMESTAMP TRUE)
FetchContent_MakeAvailable(whispercpp_fetch)

message(STATUS "Whispercpp URL: ${WHISPER_CPP_URL}")
message(STATUS "Whispercpp source dir: ${whispercpp_fetch_SOURCE_DIR}")

# add the static Whisper library to the link line
add_library(Whispercpp::Whisper STATIC IMPORTED)
set_target_properties(
Whispercpp::Whisper
PROPERTIES IMPORTED_LOCATION
${INSTALL_DIR}/lib/static/${CMAKE_STATIC_LIBRARY_PREFIX}whisper${CMAKE_STATIC_LIBRARY_SUFFIX})
set_target_properties(Whispercpp::Whisper PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${INSTALL_DIR}/include)
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}whisper${CMAKE_STATIC_LIBRARY_SUFFIX})
set_target_properties(Whispercpp::Whisper PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
${whispercpp_fetch_SOURCE_DIR}/include)
add_library(Whispercpp::GGML STATIC IMPORTED)
set_target_properties(
Whispercpp::GGML
PROPERTIES IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml${CMAKE_STATIC_LIBRARY_SUFFIX})
add_library(Whispercpp::GGMLBase STATIC IMPORTED)
set_target_properties(
Whispercpp::GGMLBase
PROPERTIES IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml-base${CMAKE_STATIC_LIBRARY_SUFFIX})
add_library(Whispercpp::GGMLCPU STATIC IMPORTED)
set_target_properties(
Whispercpp::GGMLCPU
PROPERTIES IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml-cpu${CMAKE_STATIC_LIBRARY_SUFFIX})

if("${ACCELERATION}" STREQUAL "vulkan")
add_library(Whispercpp::GGMLVulkan STATIC IMPORTED)
set_target_properties(
Whispercpp::GGMLVulkan
PROPERTIES
IMPORTED_LOCATION
${whispercpp_fetch_SOURCE_DIR}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}ggml-vulkan${CMAKE_STATIC_LIBRARY_SUFFIX})
endif()
endif()

add_library(Whispercpp INTERFACE)
add_dependencies(Whispercpp Whispercpp_Build)
target_link_libraries(Whispercpp INTERFACE Whispercpp::Whisper)
target_link_libraries(Whispercpp INTERFACE Whispercpp::Whisper Whispercpp::GGML Whispercpp::GGMLBase
Whispercpp::GGMLCPU)

if(WIN32 AND "${ACCELERATION}" STREQUAL "cpu")
target_link_libraries(Whispercpp INTERFACE Whispercpp::OpenBLAS)
endif()

if(WIN32 AND "${ACCELERATION}" STREQUAL "vulkan")
target_link_libraries(Whispercpp INTERFACE Whispercpp::GGMLVulkan)
endif()

if(WIN32 AND "${ACCELERATION}" STREQUAL "cuda")
target_link_libraries(Whispercpp INTERFACE Whispercpp::GGMLCUDA)
endif()

if(APPLE)
target_link_libraries(Whispercpp INTERFACE "-framework Accelerate -framework CoreML -framework Metal")
target_link_libraries(Whispercpp INTERFACE Whispercpp::GGML Whispercpp::CoreML)
target_link_libraries(Whispercpp INTERFACE Whispercpp::GGMLMetal Whispercpp::GGMLBlas)
endif(APPLE)

if(UNIX
AND (NOT APPLE)
AND "${ACCELERATION}" STREQUAL "vulkan")
target_link_libraries(Whispercpp INTERFACE Whispercpp::GGMLVulkan)
endif()
2 changes: 1 addition & 1 deletion data/locale/ar-SA.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ max_tokens="الحد الأقصى للرموز"
speed_up="تسريع"
initial_prompt="المطالبة الأولية"
suppress_blank="قمع الفراغ"
suppress_non_speech_tokens="قمع الرموز غير الكلامية"
suppress_nst="قمع الرموز غير الكلامية"
temperature="درجة الحرارة"
max_initial_ts="أقصى الطوابع الزمنية الأولية"
length_penalty="عقوبة الطول"
Expand Down
2 changes: 1 addition & 1 deletion data/locale/de-DE.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ max_tokens="Maximale Tokens"
speed_up="Beschleunigen"
initial_prompt="Anfangsaufforderung"
suppress_blank="Leerzeichen unterdrücken"
suppress_non_speech_tokens="Nicht-Sprach-Tokens unterdrücken"
suppress_nst="Nicht-Sprach-Tokens unterdrücken"
temperature="Temperatur"
max_initial_ts="Maximale Anfangszeitstempel"
length_penalty="Längenstrafe"
Expand Down
2 changes: 1 addition & 1 deletion data/locale/en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ initial_prompt="Initial prompt"
language="Input Language"
detect_language="Detect language"
suppress_blank="Suppress blank"
suppress_non_speech_tokens="Suppress non-speech tokens"
suppress_nst="Suppress non-speech tokens"
temperature="Temperature"
max_initial_ts="Max initial timestamps"
length_penalty="Length penalty"
Expand Down
Loading
Loading