Rainsilves commited on
Commit
22f86cf
2 Parent(s): e26dc60 ba54a50

Merge branch 'main' of https://huggingface.co/spaces/Hellisotherpeople/Interpretable_Text_Classification_And_Clustering into main

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -31,6 +31,7 @@ st.set_page_config(page_title="Interpretable Classification/Clustering")
31
  st.title("Interpretable Clustering/Classification - by Allen Roush")
32
 
33
  st.caption("Under active development! Please contact me or drop a star/issue on https://github.com/Hellisotherpeople/Active-Explainable-Classification")
 
34
 
35
  form = st.sidebar.form("choose_settings")
36
 
@@ -182,7 +183,7 @@ html = format_as_html(t_pred)
182
  form_html = st.sidebar.form("html_size_form")
183
  form_html.header("Model Explanation Display Settings")
184
  output_width = form_html.number_input("Enter the number of pixels for width of model explanation html display", value = 1920)
185
- output_height = form_html.number_input("Enter the number of pixels for height of model explanation html display", value = 2000)
186
  form_html.form_submit_button("Submit")
187
  st.caption("Scroll to see the full output!")
188
  components.html(html, width = output_width, height = output_height, scrolling = True)
 
31
  st.title("Interpretable Clustering/Classification - by Allen Roush")
32
 
33
  st.caption("Under active development! Please contact me or drop a star/issue on https://github.com/Hellisotherpeople/Active-Explainable-Classification")
34
+ st.caption("Note, use the huggingface LIGHT theme for best results")
35
 
36
  form = st.sidebar.form("choose_settings")
37
 
 
183
  form_html = st.sidebar.form("html_size_form")
184
  form_html.header("Model Explanation Display Settings")
185
  output_width = form_html.number_input("Enter the number of pixels for width of model explanation html display", value = 1920)
186
+ output_height = form_html.number_input("Enter the number of pixels for height of model explanation html display", value = 3000)
187
  form_html.form_submit_button("Submit")
188
  st.caption("Scroll to see the full output!")
189
  components.html(html, width = output_width, height = output_height, scrolling = True)