Skip to content

mohammad-albarham/Arabic_story_generator

Repository files navigation

Live Gradio application

https://huggingface.co/spaces/pain/Arabic_story_generator

Gradio Application

This is a Gradio application that allows you to generate an Arabic story using generative AI models.

Installation

  1. Clone this repository:

    git clone https://github.com/mohammad-albarham/Arabic_story_generator.git
  2. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Add the keys for OPEN AI API model and stability AI API in models.py and image_generator.py

  2. Run the application:

    gradio app.py
  3. Open your web browser and navigate to http://localhost:7860.

  4. Add your a description and the needed number of pages and click on generate story.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

Instrcutions for the contribution:

  1. Please install black formatter as follows: pip install black
  2. Make sure to format all python files you want to change using this command on the terminal: black .

You can see this tutorial for more information about the formatter: tutorial

License

ACADEMIC PUBLIC LICENSE

About

Generating a story in Arabic via Gen AI

Topics

Resources

License

Stars

Watchers

Forks

Languages