From 7acdbb3136aeccd2031ce9b9c6d0e4f23fd5b7b7 Mon Sep 17 00:00:00 2001 From: Andrei Stoica Date: Mon, 26 Feb 2024 19:58:28 -0500 Subject: [PATCH] cleaning up readmes --- .gitignore | 1 + README.md | 2 +- speech-speech/README.md | 6 ++++-- speech-speech/backend/.env | 1 - 4 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 speech-speech/backend/.env diff --git a/.gitignore b/.gitignore index af26efe..7a4959f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ **/audio *.mp3 *.webm +.env diff --git a/README.md b/README.md index 6649fdb..2589aaa 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A learning arena to learn about the current AI tool landscape ## Subprojects -### [Speach to Speach AI Assistant] +### [Speech to Speech AI Assistant](./speech-speech/) AI assistant chat with speech recognition and tts responses Fullstack diff --git a/speech-speech/README.md b/speech-speech/README.md index 7774f46..c27c0ef 100644 --- a/speech-speech/README.md +++ b/speech-speech/README.md @@ -14,12 +14,12 @@ Fullstack ## Setup ``` cd frontend -npm init +npm install npm run build cd ../backend # optionally setup virtual environment of your choice -python3 -m pip install -r requirements +python3 -m pip install -r requirements.txt ``` # Running @@ -27,7 +27,9 @@ example `backend/.env` ``` OPEN_API_KEY= ``` + ``` cd backend +source .env uvicorn --port 8080 api:app ``` diff --git a/speech-speech/backend/.env b/speech-speech/backend/.env deleted file mode 100644 index b596733..0000000 --- a/speech-speech/backend/.env +++ /dev/null @@ -1 +0,0 @@ -OPENAI_API_KEY=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