Spaces:
Running
Running
Merge pull request #11 from gchhablani/gchhablani-patch-1
Browse files- tagging_app.py +13 -1
tagging_app.py
CHANGED
@@ -419,8 +419,20 @@ 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<1B"
|
428 |
+
elif num_examples < 10000000000:
|
429 |
+
size_cat = "1B<n<10B"
|
430 |
+
elif num_examples < 100000000000:
|
431 |
+
size_cat = "10B<n<100B"
|
432 |
+
elif num_examples < 1000000000000:
|
433 |
+
size_cat = "100B<n<1T"
|
434 |
else:
|
435 |
+
size_cat = "n>1T"
|
436 |
|
437 |
res = {
|
438 |
"task_categories": task_categories,
|