Skip to content

Commit 676e205

Browse files
authored
Update Prototype.ipynb
1 parent 0f1f07b commit 676e205

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Vision/Prototype.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@
427427
"for stroke in raw_traces:\n",
428428
" stroke = np.array(stroke)\n",
429429
" if stroke.shape[1] >= 2:\n",
430-
" plt.plot(stroke[:, 0], -stroke[:, 1], color=\"black\") # Force black lines\n",
430+
" plt.plot(stroke[:, 0], -stroke[:, 1], color=\"black\"),
431431
"plt.title(\"Paper-style trace visualization (example 2)\")\n",
432432
"plt.axis(\"equal\")\n",
433433
"plt.show()"
@@ -485,10 +485,8 @@
485485
"\n",
486486
"\n",
487487
"# Print keys of first example\n",
488-
"\n",
489488
"example = dataset_dict[\"train\"][0]\n",
490489
"print(\"\\nFirst example keys:\", list(example.keys()))\n",
491-
"\n",
492490
"# Print LaTeX label and token ids\n",
493491
"print(\"\\nNormalized LaTeX label:\", example[\"normalized_label\"])\n",
494492
"print(\"Token IDs:\", example[\"latex_ids\"])\n",

0 commit comments

Comments
 (0)