runtime error

Space failed. Exit code: 1. Reason: ine 106, in sync raise return_result File "/home/user/.local/lib/python3.8/site-packages/fsspec/asyn.py", line 61, in _runner result[0] = await coro File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 258, in create await self.cache() File "/home/user/.local/lib/python3.8/site-packages/gradio/examples.py", line 292, in cache prediction = await Context.root_block.process_api( File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 950, in process_api result = await self.call_function(fn_index, inputs, iterator) File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 792, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.local/lib/python3.8/site-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/home/user/.local/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "/home/user/app/paintingface.py", line 109, in generate out = paintface(img, 400) File "/home/user/app/paintingface.py", line 97, in paintface aligned_img = align_first_face(img,size) File "/home/user/app/paintingface.py", line 77, in align_first_face aligned_image, n_faces, quad = find_aligned_face(image_in,size=size) File "/home/user/app/paintingface.py", line 72, in find_aligned_face aligned_image, n_faces, quad = face_detection.align(image_in, face_index=0, output_size=size) File "/home/user/app/face_detection.py", line 29, in align aligned_image, quad = image_align(image_in, landmarks[face_index], output_size=output_size) File "/home/user/app/face_detection.py", line 138, in image_align img = img.resize((output_size, output_size), Image.ANTIALIAS) AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

Container logs:

Fetching error logs...