File size: 298 Bytes
074552c
 
 
 
 
 
 
 
ba96eb0
074552c
 
1
2
3
4
5
6
7
8
9
10
11
import gradio

description = "Natural language generation with GPT-2"
title = "Give GPT-2 a prompt and it will take it from there..."
model_path = "huggingface/pranavpsv/gpt2-genre-story-generator"

interface = gradio.Interface.load(
    model_path,
    description=description
)
interface.launch()