libokj commited on
Commit
21a00b2
·
1 Parent(s): 1eb795a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -739,7 +739,7 @@ def create_html_report(df, file=None, task=None, progress=gr.Progress(track_tqdm
739
  report_table = pn.widgets.Tabulator(
740
  df_html, formatters=formatters,
741
  frozen_columns=['Index', 'Target ID', 'Compound ID', 'Compound', 'Scaffold'],
742
- disabled=True, sizing_mode='stretch_both', pagination='local')
743
 
744
  for i, col in enumerate(num_cols):
745
  if col not in ['Predicted Binding Affinity', 'Actual Binding Affinity']:
@@ -809,7 +809,7 @@ def create_html_report(df, file=None, task=None, progress=gr.Progress(track_tqdm
809
  background-color: rgba(250, 250, 250, 0.854);
810
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.618);
811
  border-radius: 3px;
812
- transform: scale(3) translate(+38.2%, +38.2%); /* Scale up the SVG */
813
  transition: transform 0.3s ease;
814
  pointer-events: none; /* Prevents the SVG from blocking mouse interactions */
815
  z-index: 1000;
 
739
  report_table = pn.widgets.Tabulator(
740
  df_html, formatters=formatters,
741
  frozen_columns=['Index', 'Target ID', 'Compound ID', 'Compound', 'Scaffold'],
742
+ disabled=True, sizing_mode='stretch_both', pagination='local', page_size=30)
743
 
744
  for i, col in enumerate(num_cols):
745
  if col not in ['Predicted Binding Affinity', 'Actual Binding Affinity']:
 
809
  background-color: rgba(250, 250, 250, 0.854);
810
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.618);
811
  border-radius: 3px;
812
+ transform: scale(3); /* Scale up the SVG */
813
  transition: transform 0.3s ease;
814
  pointer-events: none; /* Prevents the SVG from blocking mouse interactions */
815
  z-index: 1000;