patrickvonplaten commited on
Commit
a5f0c8c
2 Parent(s): 42ece24 3b3304f

Merge branch 'main' of https://huggingface.co/spaces/patrickvonplaten/atlas_app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -141,7 +141,7 @@ def convert(*keywords):
141
  token=HF_TOKEN,
142
  )
143
 
144
- return f"Done. Processed {len(result_files)} files."
145
 
146
 
147
  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]
 
141
  token=HF_TOKEN,
142
  )
143
 
144
+ return f"Done. Processed {num_files} files."
145
 
146
 
147
  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]