Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| from gradio import inputs | |
| description = "Arabic Story generation with GPT-2" | |
| interface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator", | |
| title = "Arabic Story Generation with GPT-2", | |
| inputs = [ | |
| gr.inputs.Textbox(lines=7, label="نص القصة"), | |
| ], | |
| description=description, | |
| examples=[["ِ a kid is playing"]] | |
| ) | |
| interface.launch() |