Arshit Malik commited on
Commit
4375be0
·
1 Parent(s): 2a60eb3

fix: remove random suffix from Kaggle kernel slug to match actual stored name

Browse files
Files changed (1) hide show
  1. automation.py +1 -1
automation.py CHANGED
@@ -105,7 +105,7 @@ def push_kaggle_kernel(build_dir: Path, main_py_text: str, label: str):
105
  random.shuffle(accounts)
106
  for acc in accounts:
107
  tag = label[:5].replace(" ", "")
108
- slug = f"{acc['username']}/yt-{tag}-{suffix}-{random.randint(1000, 9999)}"
109
  meta = {
110
  "id": slug,
111
  "title": f"YT {label} {suffix}",
 
105
  random.shuffle(accounts)
106
  for acc in accounts:
107
  tag = label[:5].replace(" ", "")
108
+ slug = f"{acc['username']}/yt-{tag}-{suffix}"
109
  meta = {
110
  "id": slug,
111
  "title": f"YT {label} {suffix}",