Spaces:
Sleeping
Sleeping
Jerry commited on
Commit ·
874cab4
1
Parent(s): 5655640
fix: corrected indentation error in run_model_episode cell
Browse files- train_colab.ipynb +1 -1
train_colab.ipynb
CHANGED
|
@@ -4065,7 +4065,7 @@
|
|
| 4065 |
" txt = tok.decode(out[0][inp.shape[1]:], skip_special_tokens=True)\n",
|
| 4066 |
" actions = extract_all_actions(txt)\n",
|
| 4067 |
"\n",
|
| 4068 |
-
"
|
| 4069 |
" print(f' 📋 Generated {len(actions)} actions:')\n",
|
| 4070 |
" for i, a in enumerate(actions):\n",
|
| 4071 |
" atype = a.get('action_type', '?')\n",
|
|
|
|
| 4065 |
" txt = tok.decode(out[0][inp.shape[1]:], skip_special_tokens=True)\n",
|
| 4066 |
" actions = extract_all_actions(txt)\n",
|
| 4067 |
"\n",
|
| 4068 |
+
" if verbose:\n",
|
| 4069 |
" print(f' 📋 Generated {len(actions)} actions:')\n",
|
| 4070 |
" for i, a in enumerate(actions):\n",
|
| 4071 |
" atype = a.get('action_type', '?')\n",
|