Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -288,7 +288,7 @@ def main():
|
|
288 |
model = pickle.load(open('assurance.pkl', 'rb'))
|
289 |
prediction = model.predict(data)
|
290 |
st.subheader('Prediction of the CSV')
|
291 |
-
pp = pd.DataFrame({"
|
292 |
ndf = pd.concat([data,pp],axis=1)
|
293 |
st.write(ndf)
|
294 |
|
|
|
288 |
model = pickle.load(open('assurance.pkl', 'rb'))
|
289 |
prediction = model.predict(data)
|
290 |
st.subheader('Prediction of the CSV')
|
291 |
+
pp = pd.DataFrame({"Predicted charges":prediction})
|
292 |
ndf = pd.concat([data,pp],axis=1)
|
293 |
st.write(ndf)
|
294 |
|