pepperjirakit
commited on
Commit
•
de2202e
1
Parent(s):
70059cd
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
-
import joblib
|
|
|
|
|
2 |
|
3 |
model = joblib.load("daimondx.joblib") unique_values = joblib.load("unique_values (1).joblib")
|
4 |
|
@@ -33,4 +35,5 @@ with st.form("questionaire"):
|
|
33 |
"depth(mm)":[z]}))
|
34 |
# Show prediction
|
35 |
st.success("Your predicted income is"+result)
|
36 |
-
if name == "main"
|
|
|
|
1 |
+
import joblib
|
2 |
+
import pandas as pd
|
3 |
+
import streamlit as st
|
4 |
|
5 |
model = joblib.load("daimondx.joblib") unique_values = joblib.load("unique_values (1).joblib")
|
6 |
|
|
|
35 |
"depth(mm)":[z]}))
|
36 |
# Show prediction
|
37 |
st.success("Your predicted income is"+result)
|
38 |
+
if name == "main"
|
39 |
+
main()
|