DEV Community

Ehtisham Ahmed
Ehtisham Ahmed

Posted on Edited on AI-assisted

Ghost Story Generator 👻 — Building with an Open-Weight AI Model

👻 What I Built

I created a Ghost Story Generator using Python and Streamlit. The idea is to let users generate spooky stories by providing a topic and choosing their preferred story length.

🛠️ How I Built It

The project uses:

Python

Streamlit
Groq API

Open-weight GPT-OSS-120B model

The model runs through a hosted provider, so it does not need to be downloaded onto my laptop.

💡 Why Open Innovation Matters

Open-weight AI models give developers an opportunity to experiment, explore model documentation and build applications with more flexibility. This project helped me explore how an open-weight model can be connected to a simple Python application.

💻 Source Code

View my Ghost Story Generator on GitHub

🚧 Current Status

The source code is uploaded to GitHub. I am still working on testing the live AI generation because Hugging Face access is currently rate-limited on my account.

This is my learning project for Hacktoberfest 2026 Open-Source AI Challenge Week 4

Live Demo: https://ghost-story-generator-u2ujknnjzdsiv9x8rzloa2.streamlit.app/

Top comments (0)