Giter Site home page Giter Site logo

drive-gooder's People

Watchers

 avatar  avatar

drive-gooder's Issues

Simplify the appUser setup

If you drop Coqui.TTS as a dependency, you won't need to give appUser a password.
You only did that so that you could login as appUser and have the $HOME env var change.
(Coqui.TTS used $HOME)

In addtion, appUser may not need root permissions. I think that was a Coqui.TTS thing too? Unsure.

Allow user to change these values

...without rebooting the app

These env vars are defined at app start.

summarize_model = environ["SUMMARIZE_MODEL"].lower()
speech_to_text_model = environ["SPEECH_TO_TEXT_MODEL"].lower()
text_to_speech_model = environ["TEXT_TO_SPEECH_MODEL"].lower()
question_model = environ["QUESTION_MODEL"].lower()

Docker container only: coqui tts cannot save audio file

When running outside of container, in macos, generates this path: /Users/lee/projects/drive-gooder/api/backend/llm/../../output/oj5rhjoyf0bk7r5d.wav

I suspect ../../ works in macos but not linux. The docker container uses debian (from the python:3.10-slim-bullseye docker image)

Maybe the issue is the path generated by _build_temporary_file_path()?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.