firagne commited on
Commit
58f8d16
1 Parent(s): 725e29e

fix uninitialized var

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def process(file_name, embed_html_all):
89
  output_csv = f"{file_name}_results.csv"
90
  with open(output_csv, "w") as w:
91
  writer = csv.writer(w)
92
- num_results = 0
93
  for top in tops:
94
  if len(formated) / 2 >= max_output:
95
  break
 
89
  output_csv = f"{file_name}_results.csv"
90
  with open(output_csv, "w") as w:
91
  writer = csv.writer(w)
92
+ header = False
93
  for top in tops:
94
  if len(formated) / 2 >= max_output:
95
  break