runtime error
Exit code: 1. Reason: K .......... .......... .......... .......... .......... 99% 388M 0s 17400K .......... .......... .......... .......... .......... 99% 311M 0s 17450K .......... .......... .......... .......... .......... 99% 275M 0s 17500K .......... ........ 100% 388M=0.1s 2024-10-02 01:37:09 (134 MB/s) - β./RealESRGAN_x4plus_anime_6B.pthβ saved [17938799/17938799] /usr/local/lib/python3.10/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 4.29.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_image7206/ rm -rf /tmp/output_image7206/ mkdir /tmp/input_image7206/ mkdir /tmp/output_image7206/ Traceback (most recent call last): File "/home/user/app/app.py", line 58, in <module> gr.Interface( File "/usr/local/lib/python3.10/site-packages/gradio/interface.py", line 449, in __init__ cache_interface_examples(self) File "/usr/local/lib/python3.10/site-packages/gradio/process_examples.py", line 51, in cache_interface_examples raise e File "/usr/local/lib/python3.10/site-packages/gradio/process_examples.py", line 47, in cache_interface_examples prediction = process_example(interface, example_id) File "/usr/local/lib/python3.10/site-packages/gradio/process_examples.py", line 29, in process_example prediction = interface.process(raw_input) File "/usr/local/lib/python3.10/site-packages/gradio/interface.py", line 721, in process predictions = self.run_prediction(processed_input) File "/usr/local/lib/python3.10/site-packages/gradio/interface.py", line 685, in run_prediction prediction = predict_fn(*processed_input) File "/home/user/app/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...