ajitrajasekharan commited on
Commit
9874d12
·
1 Parent(s): 3d953c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ try:
92
  try:
93
  res = get_bert_prediction(input_text,top_k)
94
  st.header("JSON:")
95
- st.json(res)
96
 
97
  except Exception as e:
98
  st.error("Some error occurred during prediction" + str(e))
 
92
  try:
93
  res = get_bert_prediction(input_text,top_k)
94
  st.header("JSON:")
95
+ st.json(json.dumps(res,indent=4))
96
 
97
  except Exception as e:
98
  st.error("Some error occurred during prediction" + str(e))