runtime error

.......... .......... .......... .......... 99% 530M 0s 17400K .......... .......... .......... .......... .......... 99% 488M 0s 17450K .......... .......... .......... .......... .......... 99% 408M 0s 17500K .......... ........ 100% 551M=0.05s 2023-07-08 01:10:13 (370 MB/s) - β€˜./RealESRGAN_x4plus_anime_6B.pth’ saved [17938799/17938799] /home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:37: UserWarning: `optional` parameter is deprecated, and it has no effect warnings.warn(value) IMPORTANT: You are using gradio version 2.9b23, 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. rm -rf /tmp/input_image1936/ rm -rf /tmp/output_image1936/ mkdir /tmp/input_image1936/ mkdir /tmp/output_image1936/ Traceback (most recent call last): File "app.py", line 58, in <module> gr.Interface( File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 449, in __init__ cache_interface_examples(self) File "/home/user/.local/lib/python3.8/site-packages/gradio/process_examples.py", line 51, in cache_interface_examples raise e File "/home/user/.local/lib/python3.8/site-packages/gradio/process_examples.py", line 47, in cache_interface_examples prediction = process_example(interface, example_id) File "/home/user/.local/lib/python3.8/site-packages/gradio/process_examples.py", line 29, in process_example prediction = interface.process(raw_input) File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 721, in process predictions = self.run_prediction(processed_input) File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 685, in run_prediction prediction = predict_fn(*processed_input) File "app.py", line 43, in inference img = img.resize((basewidth,hsize), Image.ANTIALIAS) AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

Container logs:

Fetching error logs...