Spaces:
Runtime error
Runtime error
apurvsibal
commited on
Commit
•
2fdd5dd
1
Parent(s):
7fee8cd
First model version
Browse files
app.py
CHANGED
@@ -1,4 +1,9 @@
|
|
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
x = st.slider('Select a value')
|
4 |
-
st.write(x, 'squared is', x * x)
|
|
|
|
|
|
|
|
1 |
+
!pip install pybanking
|
2 |
import streamlit as st
|
3 |
+
from pybanking.churn_prediction import model_churn
|
4 |
|
5 |
x = st.slider('Select a value')
|
6 |
+
st.write(x, 'squared is', x * x)
|
7 |
+
|
8 |
+
df = model_churn.get_data()
|
9 |
+
st.dataframe(df)
|