runtime error

IMAGE MODEL CKPT: SeemoRe_T_X4.pth Traceback (most recent call last): File "/home/user/app/app.py", line 108, in <module> inputs=[gr.Image(type="pil", label="Изображение", temp_dir=temp_dir.name)], File "/usr/local/lib/python3.10/site-packages/gradio/component_meta.py", line 160, in wrapper return fn(self, **kwargs) TypeError: Image.__init__() got an unexpected keyword argument 'temp_dir'

Container logs:

Fetching error logs...