https://huggingface.co/spaces/pain/Arabic_story_generator
This is a Gradio application that allows you to generate an Arabic story using generative AI models.
-
Clone this repository:
git clone https://github.com/mohammad-albarham/Arabic_story_generator.git
-
Install the required dependencies:
pip install -r requirements.txt
-
Add the keys for OPEN AI API model and stability AI API in models.py and image_generator.py
-
Run the application:
gradio app.py
-
Open your web browser and navigate to http://localhost:7860.
-
Add your a description and the needed number of pages and click on generate story.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
- Please install black formatter as follows:
pip install black
- 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