Skip to content

Commit c9a9d01

Browse files
MarkDaoustcopybara-github
authored andcommitted
Fix tutorial display, again.
- Hiding the button on Colab doesn't work with the site yet (waiting for next release). PiperOrigin-RevId: 481711540
1 parent 86d6561 commit c9a9d01

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

site/en/tutorials/text/image_captioning.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,8 @@
254254
"\n",
255255
"This section downloads a captions dataset and prepares it for training. It tokenizes the input text, and caches the results of running all the images through a pretrained feature-extractor model. It's not critical to understand everything in this section.\n",
256256
"\n",
257-
"<!--\n",
258257
" <section class=\"expandable tfo-display-only-on-site\">\n",
259-
" <button type=\"button\" class=\"button-red button expand-control\">Toggle section</button>\n",
260-
" -->"
258+
" <button type=\"button\" class=\"button-red button expand-control\">Toggle section</button>\n"
261259
]
262260
},
263261
{

0 commit comments

Comments
 (0)