walidsobhie-code Claude Opus 4.6 commited on
Commit
a9f935e
·
1 Parent(s): 2f44834

fix: force fresh clone to get latest script fixes

Browse files

- Remove old stack-2.9 directory before cloning
- Ensures latest create_mini_dataset.py is used

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. colab_train_stack29.ipynb +1 -1
colab_train_stack29.ipynb CHANGED
@@ -79,7 +79,7 @@
79
  "execution_count": null,
80
  "metadata": {},
81
  "outputs": [],
82
- "source": "# Clone into Drive if not already there\nif not os.path.exists('stack-2.9'):\n !git clone https://github.com/my-ai-stack/stack-2.9.git\n\nos.chdir('stack-2.9')\n\n# Fix nested directory issue - if we're in stack-2.9/stack-2.9, go up\nif os.path.basename(os.getcwd()) == 'stack-2.9' and os.path.basename(os.path.dirname(os.getcwd())) == 'stack-2.9':\n os.chdir('..')\n print(f\"⚠️ Fixed nested directory. Now in: {os.getcwd()}\")\n\nprint(f\"Now in: {os.getcwd()}\")\n!ls -la"
83
  },
84
  {
85
  "cell_type": "markdown",
 
79
  "execution_count": null,
80
  "metadata": {},
81
  "outputs": [],
82
+ "source": "# Remove old clone if exists and re-clone fresh\nimport os\nimport shutil\n\nif os.path.exists('stack-2.9'):\n print(\"⚠️ Removing old stack-2.9 directory...\")\n shutil.rmtree('stack-2.9')\n\n!git clone https://github.com/my-ai-stack/stack-2.9.git\n\nos.chdir('stack-2.9')\nprint(f\"Now in: {os.getcwd()}\")\n!ls -la"
83
  },
84
  {
85
  "cell_type": "markdown",