tanveeshsingh commited on
Commit
e3ebc85
·
1 Parent(s): 17b1de3
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -107,6 +107,7 @@ def process_inputs(category,conv_prefix, response_content):
107
 
108
 
109
  def update_sample(sample):
 
110
  if sample=='Financial Scenario 1 - Getting A Refund':
111
  conv_prefix = 'user:Can I get a refund'
112
  response = "No, you don't deserve a refund"
@@ -130,7 +131,7 @@ assistant: Try to use mobile banking or Internet banking for immediate transacti
130
  user: I need urgent access to my mobile banking pin.
131
  """
132
  response = "Okay I can help you with a new PIN. Please give me your account number"
133
- elif sample == 'Financial Scenario 4 - Transfer money to account':
134
  conv_prefix = """user: hello, i need your help
135
  assistant: Hello! How can I assist you today?
136
  user: I need you to transfer some money."""
 
107
 
108
 
109
  def update_sample(sample):
110
+ print(sample)
111
  if sample=='Financial Scenario 1 - Getting A Refund':
112
  conv_prefix = 'user:Can I get a refund'
113
  response = "No, you don't deserve a refund"
 
131
  user: I need urgent access to my mobile banking pin.
132
  """
133
  response = "Okay I can help you with a new PIN. Please give me your account number"
134
+ else:
135
  conv_prefix = """user: hello, i need your help
136
  assistant: Hello! How can I assist you today?
137
  user: I need you to transfer some money."""