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=2),title=title,description=description,interpretation=interpretation,enable_queue=enable_queue).launch() AttributeError: module 'gradio' has no attribute 'inputs'

Container logs:

Fetching error logs...