Spaces:
Sleeping
Sleeping
Kwasiasomani
commited on
Commit
•
e7054cb
1
Parent(s):
4556a71
Update app.py
Browse files
app.py
CHANGED
@@ -80,9 +80,9 @@ def main():
|
|
80 |
max_amount = st.sidebar.number_input('Maximum Amount', value=10000.0, step=0.01)
|
81 |
amount = st.sidebar.number_input('Amount', min_value=min_amount, max_value=max_amount, value=(min_amount + max_amount) / 2, step=0.01)
|
82 |
|
83 |
-
min_time = st.sidebar.number_input('Minimum Time', value=0.0, step=1)
|
84 |
-
max_time = st.sidebar.number_input('Maximum Time', value=172800.0, step=1)
|
85 |
-
time = st.sidebar.number_input('Time', min_value=min_time, max_value=max_time, value=(min_time + max_time) / 2, step=1)
|
86 |
|
87 |
# Descriptions and explanations
|
88 |
st.markdown("# Fraud Detection Prediction App")
|
|
|
80 |
max_amount = st.sidebar.number_input('Maximum Amount', value=10000.0, step=0.01)
|
81 |
amount = st.sidebar.number_input('Amount', min_value=min_amount, max_value=max_amount, value=(min_amount + max_amount) / 2, step=0.01)
|
82 |
|
83 |
+
min_time = st.sidebar.number_input('Minimum Time', value=0.0, min_value=0.0, max_value=172800.0, step=1.0)
|
84 |
+
max_time = st.sidebar.number_input('Maximum Time', value=172800.0, min_value=0.0, max_value=172800.0, step=1.0)
|
85 |
+
time = st.sidebar.number_input('Time', min_value=min_time, max_value=max_time, value=(min_time + max_time) / 2, step=1.0)
|
86 |
|
87 |
# Descriptions and explanations
|
88 |
st.markdown("# Fraud Detection Prediction App")
|