Skip to content

Commit

Permalink
Merge pull request #25 from OpenVoiceOS/release-0.1.1a1
Browse files Browse the repository at this point in the history
Release 0.1.1a1
  • Loading branch information
JarbasAl authored Nov 24, 2024
2 parents 3c07de0 + 336998d commit 382ed79
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 39 deletions.
39 changes: 3 additions & 36 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,12 @@
# Changelog

## [0.0.3a4](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/0.0.3a4) (2024-11-24)
## [0.1.1a1](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/0.1.1a1) (2024-11-24)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/0.0.3a3...0.0.3a4)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/0.1.0...0.1.1a1)

**Merged pull requests:**

- feat:semver [\#22](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/22) ([JarbasAl](https://github.com/JarbasAl))

## [0.0.3a3](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/0.0.3a3) (2024-11-24)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/0.0.3a2...0.0.3a3)

**Implemented enhancements:**

- feat/lang\_detection\_plugin [\#19](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/19) ([JarbasAl](https://github.com/JarbasAl))

## [0.0.3a2](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/0.0.3a2) (2024-10-01)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/0.0.3a1...0.0.3a2)

**Fixed bugs:**

- Audio file could not be read as PCM WAV, AIFF/AIFF-C, or Native FLAC [\#16](https://github.com/OpenVoiceOS/ovos-stt-http-server/issues/16)

**Closed issues:**

- Support primary and fallback both being ovos-stt-http-server instances [\#5](https://github.com/OpenVoiceOS/ovos-stt-http-server/issues/5)

**Merged pull requests:**

- fix:requirements [\#21](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/21) ([JarbasAl](https://github.com/JarbasAl))
- Fix docker endpoint [\#18](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/18) ([atd](https://github.com/atd))

## [0.0.3a1](https://github.com/OpenVoiceOS/ovos-stt-http-server/tree/0.0.3a1) (2023-10-14)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-stt-http-server/compare/0.0.2...0.0.3a1)

**Merged pull requests:**

- log level error [\#17](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/17) ([JarbasAl](https://github.com/JarbasAl))
- fix/valid\_langs\_arg [\#24](https://github.com/OpenVoiceOS/ovos-stt-http-server/pull/24) ([JarbasAl](https://github.com/JarbasAl))



Expand Down
4 changes: 3 additions & 1 deletion ovos_stt_http_server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ async def get_stt(request: Request):

@app.post("/lang_detect")
async def get_lang(request: Request):
valid = request.query_params.get("valid_langs", [])
valid = request.query_params.get("valid_langs").split(",")
if len(valid) == 1:
return {"lang": valid[0], "conf": 1.0}
audio_bytes = await request.body()
lang, prob = model.detect_language(audio_bytes, valid_langs=valid)
return {"lang": lang, "conf": prob}
Expand Down
4 changes: 2 additions & 2 deletions ovos_stt_http_server/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# START_VERSION_BLOCK
VERSION_MAJOR = 0
VERSION_MINOR = 1
VERSION_BUILD = 0
VERSION_ALPHA = 0
VERSION_BUILD = 1
VERSION_ALPHA = 1
# END_VERSION_BLOCK

0 comments on commit 382ed79

Please sign in to comment.