Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,8 @@ import streamlit as st
|
|
| 2 |
import numpy as np
|
| 3 |
import pickle
|
| 4 |
import streamlit.components.v1 as components
|
|
|
|
|
|
|
| 5 |
|
| 6 |
# Load the pickled model
|
| 7 |
def load_model():
|
|
|
|
| 2 |
import numpy as np
|
| 3 |
import pickle
|
| 4 |
import streamlit.components.v1 as components
|
| 5 |
+
from sklearn.preprocessing import LabelEncoder
|
| 6 |
+
le = LabelEncoder()
|
| 7 |
|
| 8 |
# Load the pickled model
|
| 9 |
def load_model():
|