runtime error

CPU Fusing layers... Model summary: 574 layers, 139990096 parameters, 0 gradients Adding AutoShape... /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/interface.py:286: UserWarning: Currently, only the 'default' theme is supported. warnings.warn("Currently, only the 'default' theme is supported.") IMPORTANT: You are using gradio version 3.0.19, however version 3.14.0 is available, please upgrade. -------- Cache at /home/user/app/gradio_cached_examples/log.csv not found. Caching now in 'gradio_cached_examples/' directory. Traceback (most recent call last): File "/home/user/app/app.py", line 36, in <module> gr.Interface(yolo, inputs, outputs, title=title, description=description, article=article, examples=examples, theme="huggingface").launch(enable_queue=True) File "/home/user/.local/lib/python3.10/site-packages/gradio/interface.py", line 420, in __init__ cache_interface_examples(self) File "/home/user/.local/lib/python3.10/site-packages/gradio/process_examples.py", line 51, in cache_interface_examples raise e File "/home/user/.local/lib/python3.10/site-packages/gradio/process_examples.py", line 47, in cache_interface_examples prediction = process_example(interface, example_id) File "/home/user/.local/lib/python3.10/site-packages/gradio/process_examples.py", line 29, in process_example prediction = interface.process(raw_input) File "/home/user/.local/lib/python3.10/site-packages/gradio/interface.py", line 748, in process predictions = self.run_prediction(processed_input) File "/home/user/.local/lib/python3.10/site-packages/gradio/interface.py", line 712, in run_prediction prediction = predict_fn(*processed_input) File "/home/user/app/app.py", line 15, 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...