Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
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):
|