runtime error
Exit code: 1. Reason: r/.local/lib/python3.10/site-packages/gradio_client/utils.py", line 808, in synchronize_async return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs) # type: ignore File "/home/user/.local/lib/python3.10/site-packages/fsspec/asyn.py", line 103, in sync raise return_result File "/home/user/.local/lib/python3.10/site-packages/fsspec/asyn.py", line 56, in _runner result[0] = await coro File "/home/user/.local/lib/python3.10/site-packages/gradio/helpers.py", line 360, in cache prediction = await Context.root_block.process_api( File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1533, in process_api result = await self.call_function( File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1151, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.local/lib/python3.10/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.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/home/user/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "/home/user/.local/lib/python3.10/site-packages/gradio/utils.py", line 678, in wrapper response = f(*args, **kwargs) File "/home/user/app/app.py", line 51, in predict scores, _ = model.predict(website) File "/home/user/app/homepage2vec/model.py", line 113, in predict website.features = self.get_features( File "/home/user/app/homepage2vec/model.py", line 108, in get_features features = te.get_features(url, html) File "/home/user/app/homepage2vec/textual_extractor.py", line 121, in get_features soup = BeautifulSoup(html, "lxml") File "/home/user/.local/lib/python3.10/site-packages/bs4/__init__.py", line 315, in __init__ elif len(markup) <= 256 and ( TypeError: object of type 'NoneType' has no len()
Container logs:
Fetching error logs...