jefffffff9 Claude Sonnet 4.6 commited on
Commit
842ded5
·
1 Parent(s): ac2363f

Fix Kaggle push: title slug + Windows UTF-8 encoding

Browse files

- kernel-metadata.json: title changed to 'Sahel Voice Master Trainer'
so its slug matches the id 'sahel-voice-master-trainer'
- push_to_kaggle.sh: export PYTHONUTF8=1 + PYTHONIOENCODING=utf-8
so the Kaggle CLI reads emoji in notebook cells correctly on Windows

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

notebooks/kernel-metadata.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "id": "ous-sow/sahel-voice-master-trainer",
3
- "title": "Sahel-Voice-Core — Master Trainer",
4
  "code_file": "kaggle_master_trainer.ipynb",
5
  "language": "python",
6
  "kernel_type": "notebook",
 
1
  {
2
  "id": "ous-sow/sahel-voice-master-trainer",
3
+ "title": "Sahel Voice Master Trainer",
4
  "code_file": "kaggle_master_trainer.ipynb",
5
  "language": "python",
6
  "kernel_type": "notebook",
scripts/push_to_kaggle.sh CHANGED
@@ -11,6 +11,10 @@
11
 
12
  set -euo pipefail
13
 
 
 
 
 
14
  NOTEBOOK_DIR="$(cd "$(dirname "$0")/../notebooks" && pwd)"
15
  NOTEBOOK_FILE="$NOTEBOOK_DIR/kaggle_master_trainer.ipynb"
16
  METADATA_FILE="$NOTEBOOK_DIR/kernel-metadata.json"
 
11
 
12
  set -euo pipefail
13
 
14
+ # Force UTF-8 on Windows so the Kaggle CLI can read emoji in notebook cells
15
+ export PYTHONUTF8=1
16
+ export PYTHONIOENCODING=utf-8
17
+
18
  NOTEBOOK_DIR="$(cd "$(dirname "$0")/../notebooks" && pwd)"
19
  NOTEBOOK_FILE="$NOTEBOOK_DIR/kaggle_master_trainer.ipynb"
20
  METADATA_FILE="$NOTEBOOK_DIR/kernel-metadata.json"