Hi,
I was working on Hindi leader board, and when I ran app.py after installing required dependencies, And got this error.
Write access confirmed for HF_HOME Loading pre-calculated data.... Traceback (most recent call last): File "/Users/saileshpanda/Desktop/IITGN/mteb_hindi/leaderboard/app.py", line 343, in <module> dataframe = gr.Dataframe(item["data"], datatype=datatype, type="pandas", height=500) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/saileshpanda/Desktop/IITGN/mteb_hindi/.mteb/lib/python3.12/site-packages/gradio/component_meta.py", line 179, in wrapper return fn(self, **kwargs) ^^^^^^^^^^^^^^^^^^ TypeError: Dataframe.__init__() got an unexpected keyword argument 'height'
Code:
dataframe = gr.Dataframe(item["data"], datatype=datatype, type="pandas", height=500)
But it is working with:
dataframe = gr.Dataframe(item["data"], datatype=datatype, type="pandas", row_count=500)
Hi,
I was working on Hindi leader board, and when I ran app.py after installing required dependencies, And got this error.
Write access confirmed for HF_HOME Loading pre-calculated data.... Traceback (most recent call last): File "/Users/saileshpanda/Desktop/IITGN/mteb_hindi/leaderboard/app.py", line 343, in <module> dataframe = gr.Dataframe(item["data"], datatype=datatype, type="pandas", height=500) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/saileshpanda/Desktop/IITGN/mteb_hindi/.mteb/lib/python3.12/site-packages/gradio/component_meta.py", line 179, in wrapper return fn(self, **kwargs) ^^^^^^^^^^^^^^^^^^ TypeError: Dataframe.__init__() got an unexpected keyword argument 'height'Code:
dataframe = gr.Dataframe(item["data"], datatype=datatype, type="pandas", height=500)But it is working with:
dataframe = gr.Dataframe(item["data"], datatype=datatype, type="pandas", row_count=500)