loubnabnl HF staff commited on
Commit
ad9d8ae
1 Parent(s): 98b32c1

center table with html

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def generate_code(model_name, gen_prompt, max_new_tokens, temperature, seed):
36
  def read_markdown(path):
37
  with open(path, "r") as f:
38
  output = f.read()
39
- st.markdown(output)
40
 
41
  st.set_page_config(page_icon=":laptop:", layout="wide")
42
  with open("utils/table_contents.txt", "r") as f:
 
36
  def read_markdown(path):
37
  with open(path, "r") as f:
38
  output = f.read()
39
+ st.markdown(output, unsafe_allow_html=True)
40
 
41
  st.set_page_config(page_icon=":laptop:", layout="wide")
42
  with open("utils/table_contents.txt", "r") as f: