Spaces:
Runtime error
Runtime error
Commit
·
312261f
1
Parent(s):
c2d4beb
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ import streamlit as st
|
|
21 |
import os
|
22 |
|
23 |
st.title('Supply Chain Causal Analysis')
|
24 |
-
|
25 |
# loading the save model
|
26 |
model = tf.keras.models.load_model(os.path.join('Weights_Updated','Best_model.tf'), compile=False)
|
27 |
|
@@ -32,3 +32,5 @@ with open ('le_product.pkl','rb') as file:
|
|
32 |
# loading the scaling object
|
33 |
with open ('scaler_scca.pkl','rb') as file1:
|
34 |
scaler = pickle.load(file1)
|
|
|
|
|
|
21 |
import os
|
22 |
|
23 |
st.title('Supply Chain Causal Analysis')
|
24 |
+
st.sidebar.header('Supply Chain Data')
|
25 |
# loading the save model
|
26 |
model = tf.keras.models.load_model(os.path.join('Weights_Updated','Best_model.tf'), compile=False)
|
27 |
|
|
|
32 |
# loading the scaling object
|
33 |
with open ('scaler_scca.pkl','rb') as file1:
|
34 |
scaler = pickle.load(file1)
|
35 |
+
|
36 |
+
|