qanastek commited on
Commit
8dffc3b
1 Parent(s): 6296e6e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def main():
59
  st.write(" ".join(labels))
60
 
61
  st.write("JSON:")
62
- st.write(json.dumps(getDictFromPOS(texts, labels), indent=4), collapsed=False)
63
 
64
  except Exception as e:
65
  st.error("Some error occured!" + str(e))
 
59
  st.write(" ".join(labels))
60
 
61
  st.write("JSON:")
62
+ st.json(getDictFromPOS(texts, labels))
63
 
64
  except Exception as e:
65
  st.error("Some error occured!" + str(e))