This repo hosts code that generates Telugu Poetry with AI and uses Text to Speech to recite the Telugu poetry.This app is hosted here.
- Acquire an OpenAI Key by following instructions from here.
- Acquire an API Key from Narkeet.
- Create a Supabase account from here, create a bucket called "poems" and generate the Supabase Url and Key. Ensure that the policy for the "poem" bucket is set to allow reads, writes, deletes and updates.
- Ensure you have python 3.8+.
- Clone the repo:
git clone https://github.com/MokoSan/TeluguPoetryGenerator
. - Install all the prerequistes using
pip install -r app/requirements.txt
(preferbly in a virtual environment). - Ensure you have streamlit in your path.
- Copy the .env.example file into a .env file and enter your OpenAI API Key, Narkeet API Key, Supabase Url, Supabase Key.
- To run:
streamlit run app/streamlitui.py
.
Contributions are welcomed and encouraged! If you run into any problems, create issues on this repository.
This project is licensed under the MIT License.