Spaces:
Build error
Build error
Update app.py
Browse files
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(
|
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"),
|