spaces-demo / app.py
Jezia's picture
Update app.py
d166da7
raw
history blame contribute delete
395 Bytes
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()