writingmate / chatlabs

https://writingmate.ai/
MIT License
54 stars 29 forks source link

OpenAI text-to-voice #160

Closed trierra closed 1 month ago

trierra commented 1 month ago
  1. Added a feature to play text with voice, generated by OpenAI
  2. Added audio handler, to stop playing when switching to a different chat or reloading a page

Notes: there is a TODO, which I need to figure out, since I don't really understand how awat and Promises work

vercel[bot] commented 1 month ago

@trierra is attempting to deploy a commit to the Writingmate Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
labs ❌ Failed (Inspect) Jul 20, 2024 5:30pm
vood commented 1 month ago
  1. Please merge latest code from main and re-run npm run build to fix the build issues (there is a missing database migration in your branch)
  2. I merged your code into main and tested the playback and it seems that the play icon does not turn into stop icon and there is no way to stop playback. Please see if something needs to be fixed.
trierra commented 1 month ago

@vood done. Please let me know if everything is ok with migration files, as I didn't really get what exactly I was missing

vood commented 1 month ago

Merged