loubnabnl HF staff commited on
Commit
ccec18c
·
1 Parent(s): 232b43d

fix code appearance

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -82,6 +82,6 @@ st.markdown("#### File content:")
82
  if example["lexable"]:
83
  st.code(example["content"], language=chosen_language)
84
  else:
85
- st.write(f"File can't be lexed so we remove syntax highlighting.\nContent:\n")
86
- st.write(str(example['content']))
87
 
 
82
  if example["lexable"]:
83
  st.code(example["content"], language=chosen_language)
84
  else:
85
+ st.text(f"File can't be lexed so we remove syntax highlighting.\nContent:\n")
86
+ st.text(str(example['content']))
87