runtime error
Exit code: 1. Reason: Traceback (most recent call last): File "/home/user/app/app.py", line 4, in <module> model = AbsaModel.from_pretrained( File "/usr/local/lib/python3.10/site-packages/setfit/span/modeling.py", line 364, in from_pretrained aspect_extractor = AspectExtractor(spacy_model=aspect_model.spacy_model) File "/usr/local/lib/python3.10/site-packages/setfit/span/aspect_extractor.py", line 11, in __init__ import spacy File "/usr/local/lib/python3.10/site-packages/spacy/__init__.py", line 14, in <module> from . import pipeline # noqa: F401 File "/usr/local/lib/python3.10/site-packages/spacy/pipeline/__init__.py", line 1, in <module> from .attributeruler import AttributeRuler File "/usr/local/lib/python3.10/site-packages/spacy/pipeline/attributeruler.py", line 6, in <module> from .pipe import Pipe File "spacy/pipeline/pipe.pyx", line 1, in init spacy.pipeline.pipe File "spacy/vocab.pyx", line 1, in init spacy.vocab File "/usr/local/lib/python3.10/site-packages/spacy/tokens/__init__.py", line 1, in <module> from .doc import Doc File "spacy/tokens/doc.pyx", line 36, in init spacy.tokens.doc File "/usr/local/lib/python3.10/site-packages/spacy/schemas.py", line 6, in <module> from pydantic import StrictStr, StrictInt, StrictFloat, StrictBool, ConstrainedStr File "/usr/local/lib/python3.10/site-packages/pydantic/__init__.py", line 409, in __getattr__ return _getattr_migration(attr_name) File "/usr/local/lib/python3.10/site-packages/pydantic/_migration.py", line 302, in wrapper raise PydanticImportError(f'`{import_path}` has been removed in V2.') pydantic.errors.PydanticImportError: `pydantic:ConstrainedStr` has been removed in V2. For further information visit https://errors.pydantic.dev/2.10/u/import-error
Container logs:
Fetching error logs...