aseifert commited on
Commit
51abcfc
·
1 Parent(s): e0a9bda

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,8 +39,9 @@ def output(model, args, annotator, input_text):
39
  result = model.generate_text(prefixed_input_text, args=args).text
40
 
41
  try:
42
- st.success(result)
43
  show_highlights(annotator, input_text, result)
 
 
44
  # st.table(show_edits(annotator, input_text, result))
45
  except Exception as e:
46
  st.error("Some error occured!" + str(e))
 
39
  result = model.generate_text(prefixed_input_text, args=args).text
40
 
41
  try:
 
42
  show_highlights(annotator, input_text, result)
43
+ st.write("")
44
+ st.success(result)
45
  # st.table(show_edits(annotator, input_text, result))
46
  except Exception as e:
47
  st.error("Some error occured!" + str(e))