Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.02 KB

README.md

File metadata and controls

24 lines (17 loc) · 1.02 KB

Generate Random Stories With Lyra

image

Flask Story Generator

This is a simple Flask web application that generates random stories based on user input for character names and random selections for settings, problems, and actions.

How to Use

  1. Clone or download this repository.
  2. Install the required dependencies by running pip install -r requirements.txt.
  3. Run the Flask application by executing python app.py.
  4. Open your web browser and navigate to http://localhost:5000.
  5. Enter a character name in the provided form and click "Generate".
  6. A story will be generated with the entered character name along with randomly chosen settings, problems, and actions.

Files

  • app.py: Contains the Flask application code.
  • templates/index.html: HTML template for the web interface.
  • README.md: This file providing information about the project.

Dependencies

  • Flask: Web framework for Python.