Spaces:
Running
Running
VictorDanielG
commited on
Commit
•
9a6753b
1
Parent(s):
062faeb
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,10 @@ def extract_needs_and_wants(user_story, context=''):
|
|
42 |
# Create the Gradio interface with state
|
43 |
interface = gr.Interface(
|
44 |
fn=extract_needs_and_wants,
|
45 |
-
inputs=[gr.
|
|
|
|
|
|
|
46 |
outputs=[gr.outputs.Textbox(label="Extracted Information"), gr.State()],
|
47 |
title="Unarticulated Needs & Wants Extractor",
|
48 |
description="**Author:** VictorDaniel\n\nEnter a detailed user story to extract the unarticulated needs and wants or ask follow-up questions.",
|
|
|
42 |
# Create the Gradio interface with state
|
43 |
interface = gr.Interface(
|
44 |
fn=extract_needs_and_wants,
|
45 |
+
inputs=[gr.Textbox(label="Enter your story or follow-up question"), gr.State()],
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
outputs=[gr.outputs.Textbox(label="Extracted Information"), gr.State()],
|
50 |
title="Unarticulated Needs & Wants Extractor",
|
51 |
description="**Author:** VictorDaniel\n\nEnter a detailed user story to extract the unarticulated needs and wants or ask follow-up questions.",
|