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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