From 0e68bb7125d063b170c2e9cdcc927481157771e6 Mon Sep 17 00:00:00 2001 From: Ben Xu Date: Mon, 24 Jun 2024 13:00:27 -0400 Subject: [PATCH] add docs fixes for esp32 and async interpreter --- README.md | 2 +- software/source/server/async_interpreter.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ebd8488..c14c382 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ If you want to run local speech-to-text using Whisper, you must install Rust. Fo To customize the behavior of the system, edit the [system message, model, skills library path,](https://docs.openinterpreter.com/settings/all-settings) etc. in the `profiles` directory under the `server` directory. This file sets up an interpreter, and is powered by Open Interpreter. -To specify the text-to-speech service for the 01 `base_device.py`, set `interpreter.tts` to either "openai" for OpenAI, "elevenlabs" for ElevenLabs, or "coqui" for Coqui (local) in a profile. For the 01 Light, set `SPEAKER_SAMPLE_RATE` to 24000 for Coqui (local) or 22050 for OpenAI TTS. We currently don't support ElevenLabs TTS on the 01 Light. +To specify the text-to-speech service for the 01 `base_device.py`, set `interpreter.tts` to either "openai" for OpenAI, "elevenlabs" for ElevenLabs, or "coqui" for Coqui (local) in a profile. For the 01 Light, set `SPEAKER_SAMPLE_RATE` in `client.ino` under the `esp32` client directory to 24000 for Coqui (local) or 22050 for OpenAI TTS. We currently don't support ElevenLabs TTS on the 01 Light. ## Ubuntu Dependencies diff --git a/software/source/server/async_interpreter.py b/software/source/server/async_interpreter.py index 0cd2ef7..d0bac0a 100644 --- a/software/source/server/async_interpreter.py +++ b/software/source/server/async_interpreter.py @@ -25,6 +25,7 @@ class AsyncInterpreter: self.stt_latency = None self.tts_latency = None self.interpreter_latency = None + # time from first put to first yield self.tffytfp = None self.debug = debug