anmolsahai commited on
Commit
3b5a8b1
1 Parent(s): dd61286
Files changed (1) hide show
  1. app.py +35 -0
app.py CHANGED
@@ -1,3 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  uploaded_file = st.file_uploader("Choose a file")
2
  if uploaded_file is not None:
3
  diff = ""
 
1
+ import streamlit as st
2
+ from langchain_pipeline import pipeline, model_names
3
+
4
+ st.title("Canarie AI Prototype")
5
+ st.subheader("Finding the canarie in the coal mine")
6
+
7
+ model_name = st.selectbox(
8
+ "Model",
9
+ model_names())
10
+
11
+ balance_type = st.selectbox(
12
+ "Do you charge on available balance or ledger balance?",
13
+ ["available balance", "ledger balance"]
14
+ )
15
+
16
+ apsn_transactions = st.selectbox(
17
+ "Do you charge for APSN transactions?",
18
+ ["yes", "no"]
19
+ )
20
+
21
+ max_fees_per_day = st.number_input(
22
+ "How many overdraft fees per day can be charged?",
23
+ min_value=0, max_value=10,
24
+ )
25
+
26
+ min_overdrawn_fee = st.number_input(
27
+ "What is the minimum amount overdrawn to incur a fee?",
28
+ min_value=0, max_value=500
29
+ )
30
+
31
+ min_transaction_overdraft = st.number_input(
32
+ "What is the minimum transaction amount to trigger an overdraft?",
33
+ min_value=0, max_value=500
34
+ )
35
+
36
  uploaded_file = st.file_uploader("Choose a file")
37
  if uploaded_file is not None:
38
  diff = ""