koalazf99 commited on
Commit
533ce5c
1 Parent(s): dd783be

update layout: use st.text

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -95,7 +95,8 @@ else:
95
  fp_z = decoder.decode(args, fp_x)
96
  fp_z = answer_cleansing(args, fp_z)
97
  with col1:
98
- st.markdown(f"**Substituted Q:** ```{fp_data['Question']}```")
 
99
  st.markdown(f"**Prediction:** {fp_z}")
100
  st.markdown()
101
  except Exception as e:
 
95
  fp_z = decoder.decode(args, fp_x)
96
  fp_z = answer_cleansing(args, fp_z)
97
  with col1:
98
+ st.markdown(f"**Substituted Q:**")
99
+ st.text(f"{fp_data['Question']}")
100
  st.markdown(f"**Prediction:** {fp_z}")
101
  st.markdown()
102
  except Exception as e: