Commit
·
b2644a1
1
Parent(s):
a13d7ed
Update app.py
Browse files
app.py
CHANGED
@@ -190,8 +190,8 @@ html = format_as_html(t_pred)
|
|
190 |
|
191 |
form_html = st.sidebar.form("html_size_form")
|
192 |
form_html.header("Model Explanation Display Settings")
|
193 |
-
output_width = form_html.number_input("Enter the number of pixels for width of model explanation html display", value =
|
194 |
-
output_height = form_html.number_input("Enter the number of pixels for height of model explanation html display", value =
|
195 |
form_html.form_submit_button("Submit")
|
196 |
st.caption("Scroll to see the full output!")
|
197 |
components.html(html, width = output_width, height = output_height, scrolling = True)
|
|
|
190 |
|
191 |
form_html = st.sidebar.form("html_size_form")
|
192 |
form_html.header("Model Explanation Display Settings")
|
193 |
+
output_width = form_html.number_input("Enter the number of pixels for width of model explanation html display", value = 4000)
|
194 |
+
output_height = form_html.number_input("Enter the number of pixels for height of model explanation html display", value = 4000)
|
195 |
form_html.form_submit_button("Submit")
|
196 |
st.caption("Scroll to see the full output!")
|
197 |
components.html(html, width = output_width, height = output_height, scrolling = True)
|