ibibek commited on
Commit
d42fa4a
·
1 Parent(s): cd115a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -68,7 +68,10 @@ if user_input:
68
  st.text_area("", e['@context'], height=200)
69
  #st.json(e['@context'])
70
  st.subheader('Full example:')
71
- st.text_area("", result, height=400)
72
- #st.json(result)
 
 
 
73
 
74
 
 
68
  st.text_area("", e['@context'], height=200)
69
  #st.json(e['@context'])
70
  st.subheader('Full example:')
71
+ try:
72
+ st.json(result)
73
+ except:
74
+ st.text_area("", result, height=400)
75
+
76
 
77