cogcorp commited on
Commit
8bdd57c
·
1 Parent(s): 838809c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
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(fn=generate_story, inputs="text"(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."), outputs=["text", gr.components.File()])
82
- iface.launch()
 
 
 
 
 
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()