ajitrajasekharan commited on
Commit
f437a4a
·
1 Parent(s): 9c48477

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -10,12 +10,12 @@ def load_image(image_file):
10
  return img
11
 
12
  def init_session_states():
13
- if 'init' not in st.session_state:
14
- st.session_state['init'] = 1
15
- os.system('pip install git+git://github.com/jaidedai/easyocr.git')
16
  if 'disp' not in st.session_state:
17
  st.session_state['disp'] = st.empty()
18
  st.session_state['disp'].text("Setting up environment. This will take some time...")
 
 
 
19
 
20
 
21
 
 
10
  return img
11
 
12
  def init_session_states():
 
 
 
13
  if 'disp' not in st.session_state:
14
  st.session_state['disp'] = st.empty()
15
  st.session_state['disp'].text("Setting up environment. This will take some time...")
16
+ if 'init' not in st.session_state:
17
+ st.session_state['init'] = 1
18
+ os.system('pip install git+git://github.com/jaidedai/easyocr.git')
19
 
20
 
21