App setup
All models downloaded but I got this error:
Traceback (most recent call last):
File "G:\Preinstall\Qwen2.5-VL-3B-Instruct\app.py", line 91, in
textbox=gr.MultimodalTextbox(label="Query Input", file_types=["image"], file_count="multiple"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AORUS\anaconda3\envs\transformer311\Lib\site-packages\gradio\component_meta.py", line 159, in wrapper
return fn(self, **kwargs)
^^^^^^^^^^^^^^^^^^
TypeError: MultimodalTextbox.init() got an unexpected keyword argument 'file_count'
Any fix?
Update the Transformers version and try again. There is no need to always pass file_count="multiple"
. Just remove the argument and pass only this:
textbox = gr.MultimodalTextbox(label="Query Input", file_types=["image"]),