Skip to content

Spado22/CREATIVE-WRITING-GENERATIVE

Repository files navigation

CREATIVE-WRITING-GENERATIVE

A beginner-friendly AI-powered tool that generates creative writing content such as short stories, poems, dialogues, or prompts based on user input. Built for educational use and exploring generative text capabilities.

Features

  • Generate short stories, poems, or creative ideas from a single prompt
  • Uses generative AI (e.g., GPT-based API or local models)
  • Optional themes or genres (e.g., sci-fi, romance, horror)
  • User-friendly text interface (Streamlit or Gradio)
  • Regenerate or edit outputs for refinement

Tech Stack

  • Python 3.x
  • Streamlit or Gradio (for UI)
  • Hugging Face Transformers or OpenAI API (for generation)
  • Optional: Pandas, NLTK, or spaCy for text pre-processing

Project Structure

creative-writing-generator/ ├── app.py # Main app file ├── requirements.txt # Python dependencies ├── README.md # Project overview ├── assets/ # Images or icons (if any) └── utils/ # Helper functions or prompt templates

markdown Copy Edit

How to Run

  1. Clone the repo: git clone (https://github.com/Spado22/CREATIVE-WRITING-GENERATIVE.git) cd creative-writing-generator

markdown Copy Edit

  1. Install dependencies: pip install -r requirements.txt

markdown Copy Edit

  1. Run the app: streamlit run app.py

nginx Copy Edit or
gradio app.py

pgsql Copy Edit

Example Prompts

  • "Write a poem about a forgotten robot in a post-apocalyptic world"
  • "Generate a story about a time traveler lost in ancient Egypt"
  • "Create dialogue between a talking tree and a curious child"

Ethical Use

This project is for educational and creative exploration. Outputs may not always be accurate or appropriate. Always review generated content before public use.

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published