Spaces:
Sleeping
Sleeping
Commit
•
deadff4
1
Parent(s):
3cd2bdc
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def main():
|
|
61 |
sns.histplot(x='Glucose',data=data)
|
62 |
st.pyplot(fig)
|
63 |
with tab3:
|
64 |
-
model =
|
65 |
prediction = model.predict(df)
|
66 |
pp = pd.DataFrame(prediction, columns=['Prediction'])
|
67 |
ndf = pd.concat([df, pp], axis=1)
|
|
|
61 |
sns.histplot(x='Glucose',data=data)
|
62 |
st.pyplot(fig)
|
63 |
with tab3:
|
64 |
+
model = pickle.load(open('./models/ada_dump.pkl', 'rb'))
|
65 |
prediction = model.predict(df)
|
66 |
pp = pd.DataFrame(prediction, columns=['Prediction'])
|
67 |
ndf = pd.concat([df, pp], axis=1)
|