gradio icon indicating copy to clipboard operation
gradio copied to clipboard

Values disappear from `gr.DataFrame`

Open Baliec opened this issue 1 year ago • 4 comments

Describe the bug

Hello, I have a problem when I add more than 15 rows to a Gradio dataframe, one of them is empty. Tell me, please, how can I fix this?

Have you searched existing issues? 🔎

  • [x] I have searched and found no existing issues

Reproduction

import gradio as gr column_names = ['column1', 'column2', 'column3'] kl = pd.DataFrame(columns=column_names, index=range(15)) def o1(): return with gr.Blocks(css) as demo: btn = gr.Button('Button', elem_id='w', elem_classes='btn1') inputs = gr.DataFrame(value=kl, elem_id='a', elem_classes='uno', wrap=True) btn.click(o1, outputs=None, inputs=inputs) demo.launch(debug=True)

Screenshot

No response

Logs

No response

System Info

I am using Gradio version 4.24.0

Severity

I can work around it

Baliec avatar Mar 28 '24 18:03 Baliec

🚧 This issue or pull request has been closed due to not having had activity from an Istio team member since 2023-12-20. If you feel this issue or pull request deserves attention, please reopen the issue. Please see this wiki page for more information. Thank you for your contributions.

Created by the issue and PR lifecycle manager.

istio-policy-bot avatar Apr 04 '24 05:04 istio-policy-bot