There was an error while loading. Please reload this page.
1 parent 35bf798 commit 30916cdCopy full SHA for 30916cd
main.py
@@ -306,7 +306,7 @@ def getAllLabels(overwrite=False):
306
time.sleep(1) # Give 1s interval to prevent RL
307
308
for label in labels:
309
- if (os.path.exists(savePath + 'tokens/{}.json'.format(label))
+ if (not overwrite and os.path.exists(savePath + 'tokens/{}.json'.format(label))
310
or os.path.exists(savePath + 'tokens/empty/{}.json'.format(label))):
311
print(label, "'s token labels already exist, skipping.")
312
continue
0 commit comments