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

gr.Progress not displayed correctly on gr.Dataframe #10632

Open
1 task done
Josef-Haupt opened this issue Feb 19, 2025 · 0 comments
Open
1 task done

gr.Progress not displayed correctly on gr.Dataframe #10632

Josef-Haupt opened this issue Feb 19, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Josef-Haupt
Copy link

Describe the bug

The progress bar is not displayed fully on Dataframes, see screenshot.

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

import gradio as gr


def foo(progress=gr.Progress()):
    import time

    progress(0, desc="Starting")
    time.sleep(1)

    for i in progress.tqdm(range(1, 101), desc="Progress"):
        time.sleep(1)
    
    return [["finished"]]


with gr.Blocks() as blocks:
    m = gr.Matrix(headers=["test"])
    gr.Button("Foo").click(foo, show_progress=True, outputs=m)


blocks.launch()

Screenshot

Image

Logs

System Info

gradio==5.16.1

Severity

I can work around it

@Josef-Haupt Josef-Haupt added the bug Something isn't working label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant