Spaces:
Running
Running
Another need for a token.
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def main(percentage=10):
|
|
45 |
|
46 |
# Upload the new version of the dataset (this will take awhile)
|
47 |
Dataset.from_generator(updated_dataset.__iter__).push_to_hub(
|
48 |
-
"datacomp/imagenet-1k-random" + str(percentage))
|
49 |
|
50 |
end = time.time()
|
51 |
print("That took %d seconds" % (end - start))
|
|
|
45 |
|
46 |
# Upload the new version of the dataset (this will take awhile)
|
47 |
Dataset.from_generator(updated_dataset.__iter__).push_to_hub(
|
48 |
+
"datacomp/imagenet-1k-random" + str(percentage), token=GATED_IMAGENET)
|
49 |
|
50 |
end = time.time()
|
51 |
print("That took %d seconds" % (end - start))
|