AI42docquery / app.py
ai42
Update app.py
0102fad
raw
history blame
703 Bytes
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.
Moving 0 files to the new cache system
0it [00:00, ?it/s]
0it [00:00, ?it/s]
image-classification is already registered. Overwriting pipeline for task image-classification...
Traceback (most recent call last):
File "/home/user/app/app.py", line 14, in <module>
from docquery.document import load_document, ImageDocumenta
ImportError: cannot import name 'ImageDocumenta' from 'docquery.document' (/home/user/.local/lib/python3.10/site-packages/docquery/document.py)