Skip to content

geehaad/Story-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the Langchain Story Generator 📚✨

Explore the Langchain Story Generator, a creative AI project within the LangChain framework, that brings your storytelling dreams to life!

Project Features 🌟

  • Genre-based Story Generation: 📖🎭 Choose your story's genre, making it ideal for various creative applications.
  • Custom Sentence Generation: 📝 Specify the number of sentences you want for a personalized narrative.
  • Optional Book Details: 📕 Enhance your story by adding extra book information (it's optional!).

Prototype Built with Gradio 🚀

The prototype is powered by Gradio, making it super simple to deploy and interact with the Langchain Story Generator. Create a fantastic user interface effortlessly!

Login Page

Story Generator Page

Project Structure 📂

Langchain-Story-Generator ├── Components │ ├── init.py │ └── src │ ├── handler.py │ └── main.py ├── Prototype │ ├── init.py │ └── interface ├── init.py ├── README.md

How to Use 🚀

Clone the repository:

git clone https://github.com/geehaad/Story-Generator.git
cd Story-Generator

Download Requirements: Ensure you have the necessary dependencies by running the following command in your terminal:

pip install -r requirements.txt
  • Run the project itself with a magic touch—execute main.py in the Components/src directory.
  • For an enchanting experience, run the interface by invoking interface.py in the Prototype/interface directory.

Heads-up! The interface boasts an authentication page. Discover the keys in the interface.py file.

Check the respective directories in this repository for detailed setup and usage instructions.

Limitations ⚠️

  • Cost of OpenAI API: 💰 Be mindful of the cost associated with using OpenAI's API (find the price info on the OpenAI platform).
  • Domain Specific Knowledge: 🔍 Language models may have limitations in domain-specific knowledge.
  • ChatGPT Data: 📅 The data in ChatGPT may not always be up-to-date.

Thank you for embarking on this storytelling journey with the Langchain Story Generator! Contribute, create, and ignite your AI development projects with a touch of magic. 🪄✨

About

Story Generator system using LangChain and Gradio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages