superlazycoder commited on
Commit
5c1171e
·
verified ·
1 Parent(s): 6012647

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -24,7 +24,6 @@ st.markdown(
24
  selectedCity = st.selectbox("Please select the City and the Bank Product for Your Proposition.", ["CharlesTown", "Limburg"])
25
  selectedProduct = st.selectbox("Please select the Product", ["Current", "Mortage", "Credit Card", "Crypto"])
26
  userProposal = st.text_area("Enter your Proposition for Select City and Product")
27
-
28
  submit_button = st.button("Submit")
29
  pre_prompt = '''You are a business analyser bot. I will give you data and references and you will analyse the propositions and will give them scoring on particular criterias. An example is below
30
 
@@ -70,6 +69,12 @@ Only show the table and conclusion remarks if the proposition suits the target a
70
  {{0}}
71
  '''
72
 
 
 
 
 
 
 
73
  if submit_button:
74
  proposal = '''Given proposal is for the city {} with product {}. The propsal is as below.
75
  {}'''
 
24
  selectedCity = st.selectbox("Please select the City and the Bank Product for Your Proposition.", ["CharlesTown", "Limburg"])
25
  selectedProduct = st.selectbox("Please select the Product", ["Current", "Mortage", "Credit Card", "Crypto"])
26
  userProposal = st.text_area("Enter your Proposition for Select City and Product")
 
27
  submit_button = st.button("Submit")
28
  pre_prompt = '''You are a business analyser bot. I will give you data and references and you will analyse the propositions and will give them scoring on particular criterias. An example is below
29
 
 
69
  {{0}}
70
  '''
71
 
72
+ if selectedCity:
73
+ if selectedCity == 'CharlesTown':
74
+ st.write('''{} city people are Living for today people mostly with a population of 10000. Out of this 65% are between the age of 18-25.''')
75
+
76
+ if selectedCity == 'Limburg':
77
+ st.write('''{} city people are young families people mostly with a population of 20000. Out of this 65% are between the age of 30-45. Most of them have kids aged between 0-15''')
78
  if submit_button:
79
  proposal = '''Given proposal is for the city {} with product {}. The propsal is as below.
80
  {}'''