Updated realtimestt, removed print statements
This commit is contained in:
parent
6ee37e7f66
commit
fef311e5b3
File diff suppressed because it is too large
Load Diff
|
@ -32,7 +32,7 @@ pytimeparse = "^1.1.8"
|
|||
python-crontab = "^3.0.0"
|
||||
inquirer = "^3.2.4"
|
||||
pyqrcode = "^1.2.1"
|
||||
realtimestt = "^0.1.12"
|
||||
realtimestt = "^0.1.16"
|
||||
realtimetts = "^0.4.1"
|
||||
keyboard = "^0.13.5"
|
||||
pyautogui = "^0.9.54"
|
||||
|
@ -40,7 +40,7 @@ ctranslate2 = "4.1.0"
|
|||
py3-tts = "^3.5"
|
||||
elevenlabs = "1.2.2"
|
||||
groq = "^0.5.0"
|
||||
open-interpreter = {extras = ["os"], version = "*"}
|
||||
open-interpreter = {git = "https://github.com/OpenInterpreter/open-interpreter.git", extras = ["os"]}
|
||||
litellm = "*"
|
||||
openai = "*"
|
||||
pywebview = "*"
|
||||
|
|
|
@ -76,11 +76,11 @@ async def websocket_endpoint(
|
|||
await asyncio.sleep(0)
|
||||
|
||||
if isinstance(output, bytes):
|
||||
print(f"Sending {len(output)} bytes of audio data.")
|
||||
# print(f"Sending {len(output)} bytes of audio data.")
|
||||
await websocket.send_bytes(output)
|
||||
|
||||
elif isinstance(output, dict):
|
||||
print("sending text")
|
||||
# print("sending text")
|
||||
await websocket.send_text(json.dumps(output))
|
||||
|
||||
await asyncio.gather(send_output(), receive_input())
|
||||
|
|
Loading…
Reference in New Issue