runtime error

Exit code: 1. Reason: Traceback (most recent call last): File "/home/user/app/app.py", line 19, in <module> gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch() AttributeError: module 'gradio' has no attribute 'inputs'

Container logs:

Fetching error logs...