Spaces:
Sleeping
Sleeping
Update prediction.py
Browse files- prediction.py +1 -1
prediction.py
CHANGED
@@ -21,7 +21,7 @@ def run():
|
|
21 |
new_balance_ori = st.number_input('New Balance Origin', min_value=0.0)
|
22 |
old_balance_dest = st.number_input('Old Balance Destination', min_value=0.0)
|
23 |
new_balance_dest = st.number_input('New Balance Destination', min_value=0.0)
|
24 |
-
type = st.selectbox('
|
25 |
|
26 |
if st.button("Predict"):
|
27 |
model = load_model()
|
|
|
21 |
new_balance_ori = st.number_input('New Balance Origin', min_value=0.0)
|
22 |
old_balance_dest = st.number_input('Old Balance Destination', min_value=0.0)
|
23 |
new_balance_dest = st.number_input('New Balance Destination', min_value=0.0)
|
24 |
+
type = st.selectbox('Transaction type', ['CASH_OUT', 'TRANSFER', 'DEBIT', 'CASH_IN', 'PAYMENT'])
|
25 |
|
26 |
if st.button("Predict"):
|
27 |
model = load_model()
|