Spaces:
Running
Running
gchhablani
commited on
Update tagging_app.py
Browse filesAdd more size categories in the tagging app.
- tagging_app.py +7 -1
tagging_app.py
CHANGED
@@ -419,8 +419,14 @@ elif num_examples < 100000:
|
|
419 |
size_cat = "10K<n<100K"
|
420 |
elif num_examples < 1000000:
|
421 |
size_cat = "100K<n<1M"
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
else:
|
423 |
-
size_cat = "n>
|
424 |
|
425 |
res = {
|
426 |
"task_categories": task_categories,
|
|
|
419 |
size_cat = "10K<n<100K"
|
420 |
elif num_examples < 1000000:
|
421 |
size_cat = "100K<n<1M"
|
422 |
+
elif num_examples < 10000000:
|
423 |
+
size_cat = "1M<n<10M"
|
424 |
+
elif num_examples < 100000000:
|
425 |
+
size_cat = "10M<n<100M"
|
426 |
+
elif num_examples < 1000000000:
|
427 |
+
size_cat = "100M<n<1T"
|
428 |
else:
|
429 |
+
size_cat = "n>1T"
|
430 |
|
431 |
res = {
|
432 |
"task_categories": task_categories,
|