harshiv commited on
Commit
e990789
1 Parent(s): 052e8a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,9 +1,9 @@
1
- import pickle
2
  import pandas as pd
3
  import streamlit as st
4
 
5
  # Load the trained model
6
- model = pickle.load(open("data.pkl", "rb"))
7
 
8
  # Define a function to predict user data
9
  def predict_user_data(user_data):
 
1
+ import pickle as pk
2
  import pandas as pd
3
  import streamlit as st
4
 
5
  # Load the trained model
6
+ model = pk.load(open("data.pkl", "rb"))
7
 
8
  # Define a function to predict user data
9
  def predict_user_data(user_data):