A poem generator that generates poems using the MakerSuite API.
Poem.Generator.mp4
To run this project locally, you need to follow the following steps:
-
Install Python (if you don't have it installed).
-
Clone the repository.
git clone https://github.com/Ifihan/poem.git
- Set up and activate a virtual environment (virtualenv)
pip install virtualenv
python -m venv env
source env/bin/activate
- Install the dependencies
pip install -r requirements.txt
-
Duplicate the
env.example
file and rename it to.env
and fill in the required details. -
Grab your API keys from MakerSuite and fill in the required details in the
.env
file. -
Run the application
set FLASK_APP=app.py # Windows
export FLASK_APP=app.py # Linux/ Mac
flask run
- You're good to go!
- Ensure that it's only poems it'll generate.
- Grab the poem "idea" and make it the topic (30% done).
Kindly submit an issue, thank you!
Will be updated soon.
While you're here, give a star ⭐ to the repo if you like this project.