最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - Gradio dataframe dynamically changes its height - Stack Overflow

programmeradmin3浏览0评论

This is something that I have began noticing lately. I have a dataframe in Gradio like

dataframe_output = gr.DataFrame(
                label="Results Dataframe",
                headers=["Image Path"],  # , "Result", "Check"],
                wrap=True,
                interactive=False,
                type="array",
                height=400 
            )

This dataframe receives data from a function and displays it correctly. It also responds to clicking on it.

The only thing that bugs me is that when I roll the mouse on it to see the lower rows, the height of the datafame dynamically increases.

Which is not a big error in the behavior of my application but still bothers the easy of use of the application

Does anyone knows how to set the height? (As you see I have tried with height=400)

发布评论

评论列表(0)

  1. 暂无评论