Spaces:
Sleeping
Sleeping
ryantrisnadi
commited on
Commit
β’
f969fe8
1
Parent(s):
014138a
Rename app2.py to app.py
Browse files- app2.py β app.py +1 -11
app2.py β app.py
RENAMED
@@ -1,13 +1,3 @@
|
|
1 |
-
scikit-learn ==1.3.0
|
2 |
-
pandas
|
3 |
-
matplotlib
|
4 |
-
joblib
|
5 |
-
streamlit
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
import streamlit as st
|
12 |
import pandas as pd
|
13 |
import joblib
|
@@ -62,7 +52,7 @@ input = user_input()
|
|
62 |
st.subheader('User Input')
|
63 |
st.write(input)
|
64 |
|
65 |
-
load_model = joblib.load("
|
66 |
|
67 |
prediction = load_model.predict(input)
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
import joblib
|
|
|
52 |
st.subheader('User Input')
|
53 |
st.write(input)
|
54 |
|
55 |
+
load_model = joblib.load("model.pkl")
|
56 |
|
57 |
prediction = load_model.predict(input)
|
58 |
|