Document the robotics Video Preview card - #2775
Open
epence12 wants to merge 1 commit into
Open
Conversation
epence12
force-pushed
the
document-robotics-video-preview
branch
from
September 10, 2026 07:08
0c55e8e to
48219ec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents how the Video Preview card on robotics model pages is populated. This is not covered by the current widget metadata spec, and the existing guidance points readers toward example outputs, which the card ignores.
replay.mp4lookup at the repository root onmain, the "Preview not found" fallback, and the fact thatwidgetmetadata is not read.lerobot/diffusion_pushtas a repository with the file in place.Validation: Checked against the widget bundle served on model pages, which issues a single
HEADrequest for/{model_id}/resolve/main/replay.mp4and falls back to "Preview not found" when that returns an error.widgetentries usingoutput.url,src, and both together were tested on a scratch robotics repo and none of them populated the card. A repository withreplay.mp4at the root rendered the video as described. This covers the robotics card only, not the other task widgets.Related: huggingface/huggingface.js#722 and huggingface/lerobot#227.
Assisted by Claude Code
Note
Low Risk
Documentation-only change with no runtime or security impact.
Overview
Adds documentation for how robotics model pages show a Video Preview card instead of the usual inference widget.
The new section explains that the UI only checks for
replay.mp4at the repo root onmain(notwidgetmetadata or example outputs), what happens when the file is missing, Git LFS tracking, and links an example repo. Widget Availability and Provider Support now points robotics authors to that section instead of only example outputs.Reviewed by Cursor Bugbot for commit 48219ec. Bugbot is set up for automated code reviews on this repo. Configure here.