This is built using streamlit, very simple and clean, it detects your current time, and gives you a good morning/afternoon/evening message. Uses your microphone when you click 'Speak' and returns a tts response that you can download that plays alongside the generated text.
-
create a .venv and then execute "pip install -r requirements.txt"
-
You need a Google API Key to run the project, so go to https://aistudio.google.com/app/prompts/new_chat then click Get API key
-
- Click on Create API Key, then copy API KEY that starts with AIza
-
- Paste your API KEY inside the single quotes of line 80
-
First, run the file normally, then execute
-
streamlit run main.py
-
Doing this will open up the tab in localhost, which is UI
Any languages in Google Translate and Google TTS supported