AseemD commited on
Commit
9f3b085
·
verified ·
1 Parent(s): a3ad66b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -137,8 +137,8 @@ def main():
137
  components.html(HtmlFile.read(), height=600)
138
  st.write('True label:', labels[str(y_test[idx])])
139
  st.write("Effect of Predictors")
140
- exp.as_pyplot_figure()
141
- st.pyplot(bbox_inches='tight')
142
 
143
 
144
  if __name__ == "__main__":
 
137
  components.html(HtmlFile.read(), height=600)
138
  st.write('True label:', labels[str(y_test[idx])])
139
  st.write("Effect of Predictors")
140
+ fig = exp.as_pyplot_figure()
141
+ st.pyplot(fig, bbox_inches='tight')
142
 
143
 
144
  if __name__ == "__main__":