runtime error
Exit code: 1. Reason: py", line 103, in sync raise return_result File "/usr/local/lib/python3.10/site-packages/fsspec/asyn.py", line 56, in _runner result[0] = await coro File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 273, in create await self.cache() File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 308, in cache prediction = await Context.root_block.process_api( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1015, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 833, in call_function prediction = await anyio.to_thread.run_sync( File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 63, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2502, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 986, in run result = context.run(func, *args) File "/home/user/app/app.py", line 12, in findNER model = AutoModelForTokenClassification.from_pretrained("dslim/bert-base-NER") File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 381, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4051, in from_pretrained checkpoint_files, sharded_metadata = _get_resolved_checkpoint_files( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 696, in _get_resolved_checkpoint_files raise OSError( OSError: Can't load the model for 'dslim/bert-base-NER'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'dslim/bert-base-NER' is the correct path to a directory containing a file named pytorch_model.bin.
Container logs:
Fetching error logs...