Skip to content

Commit

Permalink
fix: speech to text (#26)
Browse files Browse the repository at this point in the history
* refactor: remove STT encoding to stop empty response

* refactor: better TTS struct design

* chore: revert CI-RS toolchain

* chore: remove unused dependencies

* refactor: switch to agents
  • Loading branch information
cs50victor authored Feb 22, 2024
1 parent a543127 commit 064b2f4
Show file tree
Hide file tree
Showing 13 changed files with 724 additions and 1,850 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ OPENAI_API_KEY=""
OPENAI_ORG_ID=""

ELEVENLABS_API_KEY=""
DEEPGRAM_API_KEY=""
DEEPGRAM_API_KEY=""
5 changes: 2 additions & 3 deletions .github/workflows/ci-rs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
rust-toolchain:
- nightly-2023-09-20
- nightly

steps:
- name: Get source code
Expand All @@ -35,9 +35,8 @@ jobs:
uses: brndnmtthws/rust-action@v1
with:
toolchain: ${{ matrix.rust-toolchain }}
components: rustfmt, clippy, cargo-bloat
components: rustfmt, clippy
enable-sccache: "true"
cargo-packages: "cargo-bloat"

- name: Install binaries
run: sudo apt-get update && sudo apt-get install -y clang pkg-config libavfilter-dev libavdevice-dev libavcodec-dev libavformat-dev libavutil-dev
Expand Down
Loading

0 comments on commit 064b2f4

Please sign in to comment.