Jezia commited on
Commit
88fd916
·
1 Parent(s): d810c79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ description = "Text generation with a miniature GPT"
4
  from huggingface_hub import from_pretrained_keras
5
  model = from_pretrained_keras("huggingface/keras-io/text-generation-miniature-gpt")
6
 
7
- interface = gr.Interface.load(model,
8
  title = "Text Generation with GPT-2",
9
  inputs = [
10
  gr.inputs.Textbox(lines=5, label="Text"),
 
4
  from huggingface_hub import from_pretrained_keras
5
  model = from_pretrained_keras("huggingface/keras-io/text-generation-miniature-gpt")
6
 
7
+ interface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator",
8
  title = "Text Generation with GPT-2",
9
  inputs = [
10
  gr.inputs.Textbox(lines=5, label="Text"),