agents-course icon indicating copy to clipboard operation
agents-course copied to clipboard

[HANDS-ON BUG]

Open keith-shep opened this issue 1 month ago • 1 comments

Describe the bug Clicking "Decode" button under the "Understanding next token prediction." headline does not produce any result.

To Reproduce

  • [On firefox & chrome on mac m1]
  • Go to https://huggingface.co/learn/agents-course/en/unit1/what-are-llms

Screenshots Clicking decode does nothing Image

Additional context Interestingly enough, it IS working when going straight to the widget url https://huggingface.co/spaces/agents-course/decoding_visualizer Image

keith-shep avatar Oct 12 '26 07:10 keith-shep

Hi! I looked into this (macOS, Safari).

Reproduced: on the unit1 “What are LLMs” page, clicking Decode in the embedded widget shows Too many arguments provided for the endpoint. and produces no output.

The iframe src (https://agents-course-decoding-visualizer.hf.space/) is correct. Opening it directly, Decode works and updates for new inputs, but the same Too many arguments error still appears alongside the output.

The Space is on sdk_version: 5.0.1.

So the lesson’s embed looks fine. The issue seems to be on the Space side (possibly the older Gradio version). Happy to help test a fix.

nith2212 avatar Nov 10 '26 05:11 nith2212