feat(transcriber): flag to enable translations (#1953)

* feat(transcriber): flag to enable translations

* default translation to off
pull/1955/head
Aaron van Meerten 4 weeks ago committed by GitHub
parent 8909050f75
commit 74d913f58a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      jigasi/rootfs/defaults/transcriber-sip-communicator.properties
  2. 1
      transcriber.yml

@ -2,6 +2,7 @@
{{ $JIGASI_TRANSCRIBER_FILTER_SILENCE := .Env.JIGASI_TRANSCRIBER_FILTER_SILENCE | default "0" | toBool -}}
{{ $XMPP_RECORDER_DOMAIN := .Env.XMPP_RECORDER_DOMAIN | default "recorder.meet.jitsi" -}}
{{ $JIGASI_TRANSCRIBER_ENABLE_SAVING := .Env.JIGASI_TRANSCRIBER_ENABLE_SAVING | default "1" | toBool -}}
{{ $JIGASI_TRANSCRIBER_ENABLE_TRANSLATION := .Env.JIGASI_TRANSCRIBER_ENABLE_TRANSLATION | default "0" | toBool -}}
org.jitsi.jigasi.ENABLE_SIP=false
org.jitsi.jigasi.xmpp.acc.USER_ID={{ $JIGASI_TRANSCRIBER_USER }}@{{ $XMPP_RECORDER_DOMAIN }}
@ -11,7 +12,9 @@ org.jitsi.jigasi.xmpp.acc.ALLOW_NON_SECURE=true
# Transcription config
org.jitsi.jigasi.ENABLE_TRANSCRIPTION=true
{{ if $JIGASI_TRANSCRIBER_ENABLE_TRANSLATION -}}
org.jitsi.jigasi.transcription.ENABLE_TRANSLATION=true
{{ end -}}
{{ if $JIGASI_TRANSCRIBER_ENABLE_SAVING -}}
org.jitsi.jigasi.transcription.DIRECTORY=/tmp/transcripts
org.jitsi.jigasi.transcription.BASE_URL={{ .Env.PUBLIC_URL }}/transcripts

@ -41,6 +41,7 @@ services:
- JIGASI_TRANSCRIBER_CUSTOM_TRANSLATION_SERVICE
- JIGASI_TRANSCRIBER_LIBRETRANSLATE_URL
- JIGASI_TRANSCRIBER_ENABLE_SAVING
- JIGASI_TRANSCRIBER_ENABLE_TRANSLATION
- JIGASI_TRANSCRIBER_FILTER_SILENCE
- JIGASI_TRANSCRIBER_OCI_COMPARTMENT
- JIGASI_TRANSCRIBER_OCI_REGION

Loading…
Cancel
Save