runtime error

puts is deprecated, and will not be supported in the future, please import your component from gradio.components warnings.warn( /home/user/.local/lib/python3.10/site-packages/gradio/deprecation.py:40: UserWarning: `optional` parameter is deprecated, and it has no effect warnings.warn(value) /home/user/.local/lib/python3.10/site-packages/gradio/outputs.py:42: UserWarning: Usage of gradio.outputs is deprecated, and will not be supported in the future, please import your components from gradio.components warnings.warn( /home/user/.local/lib/python3.10/site-packages/gradio/interface.py:313: UserWarning: Currently, only the 'default' theme is supported. warnings.warn("Currently, only the 'default' theme is supported.") IMPORTANT: You are using gradio version 3.1.0, however version 3.14.0 is available, please upgrade. -------- Caching examples at: '/home/user/app/gradio_cached_examples/14/log.csv' Traceback (most recent call last): File "/home/user/app/app.py", line 46, in <module> gr.Interface(yolo, inputs, outputs, title=title, description=description, article=article, examples=examples, analytics_enabled=False).launch( File "/home/user/.local/lib/python3.10/site-packages/gradio/interface.py", line 599, in __init__ self.examples_handler = Examples( File "/home/user/.local/lib/python3.10/site-packages/gradio/examples.py", line 153, in __init__ self.cache_interface_examples() File "/home/user/.local/lib/python3.10/site-packages/gradio/examples.py", line 188, in cache_interface_examples raise e File "/home/user/.local/lib/python3.10/site-packages/gradio/examples.py", line 184, in cache_interface_examples prediction = self.process_example(example_id) File "/home/user/.local/lib/python3.10/site-packages/gradio/examples.py", line 204, in process_example predictions = self.fn(*processed_input) File "/home/user/app/app.py", line 26, in yolo im = im.resize((int(x * g) for x in im.size), Image.ANTIALIAS) # resize AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

Container logs:

Fetching error logs...