feat(wyoming-whisper) update questions to match Home Assistant Add-on (#11158)

**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
⚒️ Fixes  # <!--(issue)-->

Update questions.yaml to match
https://github.com/home-assistant/addons/tree/master/whisper.

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [x] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [x] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Alec Fenichel 2023-08-06 04:31:42 -04:00 committed by GitHub
parent 218b894a34
commit 912bb86131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 232 additions and 24 deletions

View File

@ -20,7 +20,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/wyoming-whisper
- https://github.com/home-assistant/addons/tree/master/whisper
type: application
version: 1.0.1
version: 1.0.2
annotations:
truecharts.org/catagories: |
- home-automation

View File

@ -17,6 +17,214 @@ questions:
additional_attrs: true
type: dict
attrs:
- variable: lanuage
label: Language
description: Default language for the app.
schema:
type: string
required: true
default: en
enum:
- value: auto
description: auto
- value: af
description: af
- value: am
description: am
- value: ar
description: ar
- value: as
description: as
- value: az
description: az
- value: ba
description: ba
- value: be
description: be
- value: bg
description: bg
- value: bn
description: bn
- value: bo
description: bo
- value: br
description: br
- value: bs
description: bs
- value: ca
description: ca
- value: cs
description: cs
- value: cy
description: cy
- value: da
description: da
- value: de
description: de
- value: el
description: el
- value: en
description: en
- value: es
description: es
- value: et
description: et
- value: eu
description: eu
- value: fa
description: fa
- value: fi
description: fi
- value: fo
description: fo
- value: fr
description: fr
- value: gl
description: gl
- value: gu
description: gu
- value: ha
description: ha
- value: haw
description: haw
- value: he
description: he
- value: hi
description: hi
- value: hr
description: hr
- value: ht
description: ht
- value: hu
description: hu
- value: hy
description: hy
- value: id
description: id
- value: is
description: is
- value: it
description: it
- value: ja
description: ja
- value: jw
description: jw
- value: ka
description: ka
- value: kk
description: kk
- value: km
description: km
- value: kn
description: kn
- value: ko
description: ko
- value: la
description: la
- value: lb
description: lb
- value: ln
description: ln
- value: lo
description: lo
- value: lt
description: lt
- value: lv
description: lv
- value: mg
description: mg
- value: mi
description: mi
- value: mk
description: mk
- value: ml
description: ml
- value: mn
description: mn
- value: mr
description: mr
- value: ms
description: ms
- value: mt
description: mt
- value: my
description: my
- value: ne
description: ne
- value: nl
description: nl
- value: nn
description: nn
- value: "no"
description: "no"
- value: oc
description: oc
- value: pa
description: pa
- value: pl
description: pl
- value: ps
description: ps
- value: pt
description: pt
- value: ro
description: ro
- value: ru
description: ru
- value: sa
description: sa
- value: sd
description: sd
- value: si
description: si
- value: sk
description: sk
- value: sl
description: sl
- value: sn
description: sn
- value: so
description: so
- value: sq
description: sq
- value: sr
description: sr
- value: su
description: su
- value: sv
description: sv
- value: sw
description: sw
- value: ta
description: ta
- value: te
description: te
- value: tg
description: tg
- value: th
description: th
- value: tk
description: tk
- value: tl
description: tl
- value: tr
description: tr
- value: tt
description: tt
- value: uk
description: uk
- value: ur
description: ur
- value: uz
description: uz
- value: vi
description: vi
- value: yi
description: yi
- value: yo
description: yo
- value: zh
description: zh
- variable: model
label: Model
description: Whisper model that will be used for transcription.
@ -25,30 +233,27 @@ questions:
required: true
default: tiny-int8
enum:
- value: tiny-int8
description: Tiny-int8
- value: tiny
description: Tiny
- value: base-int8
description: Base-int8
- value: base
description: Base
- value: small-int8
description: Small-int8
- value: small
description: Small
description: base
- value: base-int8
description: base-int8
- value: medium-int8
description: Medium-int8
- value: medium
description: Medium
- variable: lanuage
label: Language
description: Language that you will use for speach.
description: medium-int8
- value: small
description: small
- value: small-int8
description: small-int8
- value: tiny
description: tiny
- value: tiny-int8
description: tiny-int8
- variable: beam_size
label: Beam Size
description: Number of candidates to consider simultaneously during transcription.
schema:
type: string
type: int
required: true
default: en
default: 1
# Include{containerConfig}
# Include{serviceRoot}
# Include{serviceMain}

View File

@ -4,8 +4,9 @@ image:
tag: vlatest@sha256:e9ab09b06cfba80f43d4f8c7104e4170ad3898ff8ee6d9b5eea16199200625e1
wyoming_whisper:
model: tiny-int8
language: en
model: tiny-int8
beam_size: 1
workload:
main:
@ -23,10 +24,12 @@ workload:
port: 10300
scheme: tcp
args:
- --model
- "{{ .Values.wyoming_whisper.model }}"
- --language
- "{{ .Values.wyoming_whisper.language }}"
- --model
- "{{ .Values.wyoming_whisper.model }}"
- --beam-size
- "{{ .Values.wyoming_whisper.beam_size }}"
service:
main: