theo commited on
Commit
ef36700
2 Parent(s): 05edfc3 fd60c83

Merge remote-tracking branch 'origin/main' into theo/simpletagger

Browse files
Files changed (1) hide show
  1. tagging_app.py +1 -1
tagging_app.py CHANGED
@@ -320,7 +320,7 @@ if "extended" in state["extended"]:
320
  extended_sources[extended_sources.index("other")] = f"other-{other_extended_sources}"
321
  state["source_datasets"] += [f"extended|{src}" for src in extended_sources]
322
 
323
- size_cats = ["unknown", "n<1K", "1K<n<10K", "10K<n<100K", "100K<n<1M", "n>1M"]
324
  current_size_cats = state.get("size_categories") or ["unknown"]
325
  ok, nonok = split_known(current_size_cats, size_cats)
326
  if len(nonok) > 0:
 
320
  extended_sources[extended_sources.index("other")] = f"other-{other_extended_sources}"
321
  state["source_datasets"] += [f"extended|{src}" for src in extended_sources]
322
 
323
+ size_cats = ["unknown", "n<1K", "1K<n<10K", "10K<n<100K", "100K<n<1M", "n>1M", ...]
324
  current_size_cats = state.get("size_categories") or ["unknown"]
325
  ok, nonok = split_known(current_size_cats, size_cats)
326
  if len(nonok) > 0: