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