kinensake commited on
Commit
4beadd4
·
1 Parent(s): 7ac9c82

Print error

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -23,7 +23,7 @@ class GramformerDemo:
23
  def __init__(self):
24
  if 'gf' not in st.session_state:
25
  st.session_state['gf'] = None
26
-
27
  st.set_page_config(
28
  page_title="Gramformer Demo",
29
  initial_sidebar_state="expanded",
@@ -86,6 +86,7 @@ class GramformerDemo:
86
  }
87
  annotated_text(*annotations, **args)
88
  except Exception as e:
 
89
  st.error('Some error occured!')
90
  st.stop()
91
 
 
23
  def __init__(self):
24
  if 'gf' not in st.session_state:
25
  st.session_state['gf'] = None
26
+
27
  st.set_page_config(
28
  page_title="Gramformer Demo",
29
  initial_sidebar_state="expanded",
 
86
  }
87
  annotated_text(*annotations, **args)
88
  except Exception as e:
89
+ print(e)
90
  st.error('Some error occured!')
91
  st.stop()
92