meg HF Staff commited on
Commit
e7a4071
·
verified ·
1 Parent(s): 6a67483

Another need for a token.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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))