Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,12 +12,12 @@ def generate_story(prompt, word_count):
|
|
| 12 |
|
| 13 |
# Define example inputs for the Gradio interface
|
| 14 |
example_inputs = [
|
| 15 |
-
"Once upon a time, in a magical forest, there was a curious rabbit named Oliver.",
|
| 16 |
-
"Amidst the hustle and bustle of a busy city, there lived a lonely street musician.",
|
| 17 |
-
"On a distant planet, explorers discovered an ancient alien artifact buried in the sand.",
|
| 18 |
-
"Hidden in the attic of an old house, a forgotten journal revealed a family secret.",
|
| 19 |
-
"In a futuristic world, a brilliant scientist invented a time-traveling device.",
|
| 20 |
-
"Deep in the ocean, an underwater explorer encountered a mysterious and ancient creature."
|
| 21 |
]
|
| 22 |
|
| 23 |
# Create a Gradio interface with examples and a word count slider
|
|
|
|
| 12 |
|
| 13 |
# Define example inputs for the Gradio interface
|
| 14 |
example_inputs = [
|
| 15 |
+
["Once upon a time, in a magical forest, there was a curious rabbit named Oliver."],
|
| 16 |
+
["Amidst the hustle and bustle of a busy city, there lived a lonely street musician."],
|
| 17 |
+
["On a distant planet, explorers discovered an ancient alien artifact buried in the sand."],
|
| 18 |
+
["Hidden in the attic of an old house, a forgotten journal revealed a family secret."],
|
| 19 |
+
["In a futuristic world, a brilliant scientist invented a time-traveling device."],
|
| 20 |
+
["Deep in the ocean, an underwater explorer encountered a mysterious and ancient creature."]
|
| 21 |
]
|
| 22 |
|
| 23 |
# Create a Gradio interface with examples and a word count slider
|