BenjiELCA commited on
Commit
cc5f9e3
·
verified ·
1 Parent(s): 45c9363

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -10,7 +10,7 @@ from streamlit_drawable_canvas import st_canvas
10
  from modules.streamlit_utils import *
11
  from glob import glob
12
 
13
- #from streamlit_image_annotation import detection
14
  from modules.toXML import create_XML
15
 
16
  def configure_page():
@@ -160,8 +160,8 @@ def main():
160
  with st.spinner('Waiting for result display...'):
161
  display_options(st.session_state.crop_image, st.session_state.score_threshold, is_mobile, int(5/6 * screen_width))
162
 
163
- #if not is_mobile:
164
- #modify_results()
165
 
166
  with st.expander("Options for BPMN modeler"):
167
  modeler_options(is_mobile)
 
10
  from modules.streamlit_utils import *
11
  from glob import glob
12
 
13
+ from streamlit_image_annotation import detection
14
  from modules.toXML import create_XML
15
 
16
  def configure_page():
 
160
  with st.spinner('Waiting for result display...'):
161
  display_options(st.session_state.crop_image, st.session_state.score_threshold, is_mobile, int(5/6 * screen_width))
162
 
163
+ if not is_mobile:
164
+ modify_results()
165
 
166
  with st.expander("Options for BPMN modeler"):
167
  modeler_options(is_mobile)