Skip to content

Saloni0512/LoreCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LoreCraft

Lore

An AI poetry generator app that lets you craft poems based on simple text prompts using the Anthropic API. You can choose from different poem styles, select the number of lines as per your choice and more. Channelise your inner Maya Angelou with LoreCraft!

Demo

Introducing.LoreCraft.mp4

Setup

  1. Clone this repository

    Note: The root project directory name is SonnetVerse. So keep that in mind while setting up the project

  2. Install the required packages:

    pip install anthropic python-dotenv streamlit
  3. For creating a virtual environment run the following command.This ensures that the project runs with the exact versions of packages it requires.

    python -m venv venv
    source venv/bin/activate
  4. Create a .env file in the root project directory and add your Anthropic API key .Visit Anthropic to get the API key.

    ANTHROPIC_API_KEY = your-api-key
  5. Run the Streamlit app:

    streamlit run app.py

License

This project is licensed under MIT.

About

Your poetic AI muse

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages