runtime error
023-10-24 Python-3.8.9 torch-2.0.1+cu117 CPU Fusing layers... Model summary: 213 layers, 7015519 parameters, 0 gradients Adding AutoShape... /home/user/.local/lib/python3.8/site-packages/gradio/deprecation.py:40: UserWarning: `optional` parameter is deprecated, and it has no effect warnings.warn(value) /home/user/.local/lib/python3.8/site-packages/gradio/interface.py:289: 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.1, 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 "app.py", line 29, 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.8/site-packages/gradio/interface.py", line 423, 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 718, in process predictions = self.run_prediction(processed_input) File "/home/user/.local/lib/python3.8/site-packages/gradio/interface.py", line 682, in run_prediction prediction = predict_fn(*processed_input) File "app.py", line 14, 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...