Update prediction.py
Browse files- prediction.py +1 -1
prediction.py
CHANGED
|
@@ -5,7 +5,7 @@ import pickle
|
|
| 5 |
import matplotlib.pyplot as plt
|
| 6 |
|
| 7 |
# Load Model
|
| 8 |
-
@st.cache
|
| 9 |
def load_model():
|
| 10 |
with open('model.pkl', 'rb') as file:
|
| 11 |
model = pickle.load(file)
|
|
|
|
| 5 |
import matplotlib.pyplot as plt
|
| 6 |
|
| 7 |
# Load Model
|
| 8 |
+
@st.cache(allow_output_mutation=True)
|
| 9 |
def load_model():
|
| 10 |
with open('model.pkl', 'rb') as file:
|
| 11 |
model = pickle.load(file)
|