patrickvonplaten commited on
Commit
3b3304f
1 Parent(s): 7434749

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -142,7 +142,7 @@ def convert(*keywords):
142
  token=HF_TOKEN,
143
  )
144
 
145
- return f"Done. Processed {len(result_files)} files."
146
 
147
 
148
  inputs = [gr.Textbox(label=f"Enter your keywords for {k}", max_lines=2, placeholder=CAT_TO_CODEWORDS[k], value=",".join(CAT_TO_CODEWORDS[k])) for k in CATEGORIES]
 
142
  token=HF_TOKEN,
143
  )
144
 
145
+ return f"Done. Processed {num_files} files."
146
 
147
 
148
  inputs = [gr.Textbox(label=f"Enter your keywords for {k}", max_lines=2, placeholder=CAT_TO_CODEWORDS[k], value=",".join(CAT_TO_CODEWORDS[k])) for k in CATEGORIES]