huggingface / huggingface/agents-course

[HANDS-ON BUG] Text not clearly visible with <iframe>

Open
#507 0 comments 1 reaction 0 assignees View on GitHub
hands-on-bug
Dominant language
MDX
Stars
32.6k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
In the unit of [What are LLMs](https://huggingface.co/learn/agents-course/en/unit1/what-are-llms#what-is-a-large-language-model), there is this Tokenizer Playground where user can input their own sentences and it will display the tokens.

The generated text from the second text field is not easily visible, especially when the user selects Token IDs. From my perspective, the text field background is white in color, and the text is also white in color.

I'm not sure if this is due to the fact that I'm using dark mode.

**To Reproduce**
Type in any text into the Tokenizer Playground, and the result's text field will show white text on white background.

**Screenshots**

![Image](https://github.com/user-attachments/assets/37d43469-54ad-4d12-8dfc-b3f85f5b7a98)

I'll have to specifically highlight the text to see it clearly.

![Image](https://github.com/user-attachments/assets/4b3af863-9161-4e35-b196-94803c0c1edb)

**Additional context**
N/A

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.