Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,8 +38,8 @@ example_inputs = [
|
|
| 38 |
# Create the Gradio interface with examples
|
| 39 |
iface = gr.Interface(
|
| 40 |
fn=generate_story,
|
| 41 |
-
inputs=gr.
|
| 42 |
-
outputs=gr.
|
| 43 |
live=True,
|
| 44 |
title="Interactive Story Generator",
|
| 45 |
description="Enter your input, and we will generate an interactive story for you.",
|
|
|
|
| 38 |
# Create the Gradio interface with examples
|
| 39 |
iface = gr.Interface(
|
| 40 |
fn=generate_story,
|
| 41 |
+
inputs=gr.components.Textbox(label="Enter your input", examples=example_inputs),
|
| 42 |
+
outputs=gr.components.Textbox(label="Generated Story"),
|
| 43 |
live=True,
|
| 44 |
title="Interactive Story Generator",
|
| 45 |
description="Enter your input, and we will generate an interactive story for you.",
|