Skip to content

Commit

Permalink
✨ allow configuration of a custom translation service (such as libret…
Browse files Browse the repository at this point in the history
…ranslate) (#1946)
  • Loading branch information
M4GNV5 authored Oct 21, 2024
1 parent d6251b7 commit a5b719c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ org.jitsi.jigasi.transcription.RECORD_AUDIO_FORMAT=wav
{{ if .Env.JIGASI_TRANSCRIBER_CUSTOM_SERVICE -}}
org.jitsi.jigasi.transcription.customService={{ .Env.JIGASI_TRANSCRIBER_CUSTOM_SERVICE }}
{{ end -}}
{{ if .Env.JIGASI_TRANSCRIBER_CUSTOM_TRANSLATION_SERVICE -}}
org.jitsi.jigasi.transcription.translationService={{ .Env.JIGASI_TRANSCRIBER_CUSTOM_TRANSLATION_SERVICE }}
{{ end -}}
{{ if .Env.JIGASI_TRANSCRIBER_LIBRETRANSLATE_URL -}}
org.jitsi.jigasi.transcription.libreTranslate.api_url={{ .Env.JIGASI_TRANSCRIBER_LIBRETRANSLATE_URL }}
{{ end -}}
{{ if $JIGASI_TRANSCRIBER_FILTER_SILENCE -}}
org.jitsi.jigasi.transcription.FILTER_SILENCE = true
{{ end -}}
Expand Down
2 changes: 2 additions & 0 deletions transcriber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ services:
- JIGASI_BREWERY_MUC
- JIGASI_TRANSCRIBER_ADVERTISE_URL
- JIGASI_TRANSCRIBER_CUSTOM_SERVICE
- JIGASI_TRANSCRIBER_CUSTOM_TRANSLATION_SERVICE
- JIGASI_TRANSCRIBER_LIBRETRANSLATE_URL
- JIGASI_TRANSCRIBER_ENABLE_SAVING
- JIGASI_TRANSCRIBER_FILTER_SILENCE
- JIGASI_TRANSCRIBER_OCI_COMPARTMENT
Expand Down

0 comments on commit a5b719c

Please sign in to comment.