jackrui commited on
Commit
e50d331
1 Parent(s): 93df839

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -618,8 +618,7 @@ def app(num_outputs1=50, MAX_SEQ_LEN1=10, Attribute_num=1):
618
 
619
  pred_contents_df = pd.DataFrame(pred_contents_dict)
620
  fi_df = pred_contents_df[pred_contents_df[all_function_names] == 'Yes']
621
- if num is not None:
622
- fi_df = fi_df.head(limit)
623
  # output_str = pred_contents_df.to_string(index=True)
624
  # output_str = fi_df.to_html(index=False, classes='table table-bordered table-striped')
625
  # table_style = 'width:100%;'
 
618
 
619
  pred_contents_df = pd.DataFrame(pred_contents_dict)
620
  fi_df = pred_contents_df[pred_contents_df[all_function_names] == 'Yes']
621
+ fi_df = fi_df.head(limit)
 
622
  # output_str = pred_contents_df.to_string(index=True)
623
  # output_str = fi_df.to_html(index=False, classes='table table-bordered table-striped')
624
  # table_style = 'width:100%;'