Nazneen Rajani commited on
Commit
94523cd
1 Parent(s): c347a86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -26,7 +26,8 @@ from streamlit_vega_lite import altair_component
26
  # utils
27
  from random import sample
28
  from error_analysis import utils as ut
29
- # from PIL import Image
 
30
 
31
 
32
  def down_samp(embedding):
@@ -195,6 +196,7 @@ def topic_distribution(weights, smoothing=0.01):
195
 
196
  if __name__ == "__main__":
197
  ### STREAMLIT APP CONGFIG ###
 
198
  st.set_page_config(layout="wide", page_title="Error Slice Analysis")
199
 
200
  ut.init_style()
 
26
  # utils
27
  from random import sample
28
  from error_analysis import utils as ut
29
+ import os
30
+
31
 
32
 
33
  def down_samp(embedding):
 
196
 
197
  if __name__ == "__main__":
198
  ### STREAMLIT APP CONGFIG ###
199
+ os.system("pip --ignore-installed streamlit ")
200
  st.set_page_config(layout="wide", page_title="Error Slice Analysis")
201
 
202
  ut.init_style()