Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -78,5 +78,9 @@ def generate_story(goal_string):
|
|
78 |
write_file("PersonalStory.txt", story)
|
79 |
return "\nPersona Day In the Life of Story Saved", "PersonalStory.txt"
|
80 |
|
81 |
-
iface = gr.Interface(
|
82 |
-
|
|
|
|
|
|
|
|
|
|
78 |
write_file("PersonalStory.txt", story)
|
79 |
return "\nPersona Day In the Life of Story Saved", "PersonalStory.txt"
|
80 |
|
81 |
+
iface = gr.Interface(
|
82 |
+
fn=generate_story,
|
83 |
+
inputs=gr.inputs.Textbox(default="Provide an easy-to-read and factual sales story answering: How can the 'persona' utilize 'solution or product' in their daily job? Include an overview, background, then the day in the life of."),
|
84 |
+
outputs=["text", gr.components.File()]
|
85 |
+
)
|
86 |
+
iface.launch()
|