Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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__":
|