Commit
·
9874d12
1
Parent(s):
3d953c4
Update app.py
Browse files
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))
|