Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,8 +14,8 @@ def generate_story(prompt):
|
|
| 14 |
|
| 15 |
demo = gr.Interface(
|
| 16 |
fn=generate_story,
|
| 17 |
-
inputs=gr.Textbox(label="Enter a story prompt"),
|
| 18 |
-
outputs=gr.Textbox(label="Generated Story"),
|
| 19 |
title="Tiny Story Generator",
|
| 20 |
description="A fine-tuned GPT-2 model that writes short creative stories."
|
| 21 |
)
|
|
|
|
| 14 |
|
| 15 |
demo = gr.Interface(
|
| 16 |
fn=generate_story,
|
| 17 |
+
inputs=gr.Textbox(label="Enter a story prompt",lines=3),
|
| 18 |
+
outputs=gr.Textbox(label="Generated Story",lines=10),
|
| 19 |
title="Tiny Story Generator",
|
| 20 |
description="A fine-tuned GPT-2 model that writes short creative stories."
|
| 21 |
)
|