runtime error

/home/user/app/app.py:9: GradioDeprecationWarning: gr.Interface.load() will be deprecated. Use gr.load() instead. inputs=gr.Interface.load("models/eileennoonan/resnet34_stylyst_classifier").get_component("input"), Fetching model from: https://huggingface.co/eileennoonan/resnet34_stylyst_classifier Traceback (most recent call last): File "/home/user/app/app.py", line 9, in <module> inputs=gr.Interface.load("models/eileennoonan/resnet34_stylyst_classifier").get_component("input"), AttributeError: 'Interface' object has no attribute 'get_component'. Did you mean: 'input_components'?

Container logs:

Fetching error logs...