Spaces:
Running
Running
Commit ·
1e979cd
1
Parent(s): c59510c
Notebook: hard-code REPO_URL to Inject-Arena GitHub
Browse filesReplaces the <USERNAME> placeholder so Cell 1 (Setup) clones the right
repo on first Colab run.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
notebooks/colab_runner.ipynb
CHANGED
|
@@ -36,7 +36,7 @@
|
|
| 36 |
"except Exception:\n",
|
| 37 |
" pass\n",
|
| 38 |
"\n",
|
| 39 |
-
"REPO_URL = 'https://github.com/
|
| 40 |
"if not os.path.exists('/content/injectarena'):\n",
|
| 41 |
" url = REPO_URL.replace('https://', f'https://{os.environ[\"GH_TOKEN\"]}@') if os.environ.get('GH_TOKEN') else REPO_URL\n",
|
| 42 |
" subprocess.run(['git', 'clone', url, '/content/injectarena'], check=True)\n",
|
|
@@ -184,4 +184,4 @@
|
|
| 184 |
},
|
| 185 |
"nbformat": 4,
|
| 186 |
"nbformat_minor": 5
|
| 187 |
-
}
|
|
|
|
| 36 |
"except Exception:\n",
|
| 37 |
" pass\n",
|
| 38 |
"\n",
|
| 39 |
+
"REPO_URL = 'https://github.com/Jaswanth-K1210/Inject-Arena.git'\n",
|
| 40 |
"if not os.path.exists('/content/injectarena'):\n",
|
| 41 |
" url = REPO_URL.replace('https://', f'https://{os.environ[\"GH_TOKEN\"]}@') if os.environ.get('GH_TOKEN') else REPO_URL\n",
|
| 42 |
" subprocess.run(['git', 'clone', url, '/content/injectarena'], check=True)\n",
|
|
|
|
| 184 |
},
|
| 185 |
"nbformat": 4,
|
| 186 |
"nbformat_minor": 5
|
| 187 |
+
}
|