willn9 commited on
Commit
3a274cd
·
verified ·
1 Parent(s): 43765bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -11,6 +11,7 @@ def respond(
11
  system_message,
12
  customer_profile,
13
  customer_goals,
 
14
  main_topic,
15
  ask_for_topic_suggestions,
16
  max_tokens,
@@ -22,6 +23,7 @@ def respond(
22
  f"{system_message}\n\n"
23
  f"Customer Profile: {customer_profile}\n"
24
  f"Customer Goals, Pain Points, Obstacles, Wishes and Preferences: {customer_goals}\n"
 
25
  f"Main Topic: {main_topic}\n"
26
  )
27
 
@@ -68,6 +70,10 @@ demo = gr.ChatInterface(
68
  label="Customer Goals, Pain Points, Obstacles, Wishes and Preferences",
69
  placeholder="Describe your customer's goals, pain points, concerns, obstacles, wishes, and preferences",
70
  ),
 
 
 
 
71
  gr.Textbox(label="Main Topic", placeholder="Enter the main topic of the post"),
72
  gr.Checkbox(label="Ask for Topic Suggestions", value=False),
73
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
 
11
  system_message,
12
  customer_profile,
13
  customer_goals,
14
+ company_solution,
15
  main_topic,
16
  ask_for_topic_suggestions,
17
  max_tokens,
 
23
  f"{system_message}\n\n"
24
  f"Customer Profile: {customer_profile}\n"
25
  f"Customer Goals, Pain Points, Obstacles, Wishes and Preferences: {customer_goals}\n"
26
+ f"Company solutions, products or services, value proposition and differentiators to solve customer problem: {company_solution}\n"
27
  f"Main Topic: {main_topic}\n"
28
  )
29
 
 
70
  label="Customer Goals, Pain Points, Obstacles, Wishes and Preferences",
71
  placeholder="Describe your customer's goals, pain points, concerns, obstacles, wishes, and preferences",
72
  ),
73
+ gr.Textbox(
74
+ label="Company solutions, products or services",
75
+ placeholder="Describe your company's Company solutions, product or services, value proposition and differentiators to solve customer problems",
76
+ ),
77
  gr.Textbox(label="Main Topic", placeholder="Enter the main topic of the post"),
78
  gr.Checkbox(label="Ask for Topic Suggestions", value=False),
79
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),