Struggle to build a gradio space for image inpainting
Hi,I want to build a gradio space for image inpaintingI try to useimage = gr.Image(source='upload', tool='sketch', elem_id="image_upload", type="pil", label="Upload",height=400)As I saw in other spaces, but get an error:Traceback (most recent call last):
  File "/home/user/app/app.py", line 105, in <module>
    image = gr.Image(source='upload', tool='sketch', elem_id="image_upload", type="pil", label="Upload",height=400)
  File "/usr/local/lib/python3.10/site-packages/gradio/component_meta.py", line 159, in wrapper
    return fn(self, **kwargs)
TypeError: Image.__init__() got an unexpected keyword argument 'source'It seems that some functionality is deprecated?Would appreciate any help,Thanks