freemt commited on
Commit
3a92168
·
1 Parent(s): d80396f
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -14,7 +14,7 @@ from gradio_cmat.gradio_cmat import gradio_cmat
14
 
15
 
16
  pd.set_option("display.precision", 2)
17
- pd.options.display.float_format = "{:,.2f}".format
18
  logzero.loglevel(set_loglevel(10, force=True))
19
  # model = model_s()
20
 
@@ -58,7 +58,8 @@ out_df = gr.outputs.Dataframe(
58
  max_rows=50, # 20
59
  max_cols=50,
60
  overflow_row_behaviour="paginate",
61
- type="auto",
 
62
  label="cmat",
63
  )
64
  out_text = gr.outputs.Textbox(label="cmat")
 
14
 
15
 
16
  pd.set_option("display.precision", 2)
17
+ pd.options.display.float_format = "{:,.1f}".format
18
  logzero.loglevel(set_loglevel(10, force=True))
19
  # model = model_s()
20
 
 
58
  max_rows=50, # 20
59
  max_cols=50,
60
  overflow_row_behaviour="paginate",
61
+ # type="auto",
62
+ type="pandas",
63
  label="cmat",
64
  )
65
  out_text = gr.outputs.Textbox(label="cmat")