Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chatbot card is flickering while streaming code #2064

Closed
maxjeblick opened this issue Jul 5, 2023 · 1 comment
Closed

Chatbot card is flickering while streaming code #2064

maxjeblick opened this issue Jul 5, 2023 · 1 comment
Labels
bug Bug in code ui Related to UI

Comments

@maxjeblick
Copy link

maxjeblick commented Jul 5, 2023

Wave SDK Version, OS

0.26.0, Ubuntu, firefox.

Actual behavior

When using the ui.chatbot_card, rendered code is flickering when streaming is enabled.
More precisely, the code changes between being colored most of the times and being pure white for a split second .

Screenshot 2023-07-05 at 11-24-42 Screenshot from 2023-07-05 11-21-55 png (PNG Image 4384 × 2466 pixels) — Scaled (45%)
Screenshot 2023-07-05 at 11-24-23 Screenshot from 2023-07-05 11-21-42 png (PNG Image 4384 × 2466 pixels) — Scaled (45%)

Expected behavior

Card is not flickering.

Steps To Reproduce

I used H2O LLM Studio chat's window for this, see screenshots above.
Model is h2oai/h2ogpt-gm-oasst1-en-2048-falcon-7b-v3, the experiment was run with no additional training (training epochs==0).
A simple streaming example with appropriate code cell output should also reproduce this issue.

@maxjeblick maxjeblick added the bug Bug in code label Jul 5, 2023
@mturoci mturoci added the ui Related to UI label Jul 6, 2023
@mturoci
Copy link
Collaborator

mturoci commented Jul 6, 2023

Thanks for reporting @maxjeblick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug in code ui Related to UI
Projects
None yet
Development

No branches or pull requests

2 participants