Gene-Weaver / VoucherVision

Initiated by the University of Michigan Herbarium, VoucherVision harnesses the power of large language models (LLMs) to transform the transcription process of natural history specimen labels.
https://huggingface.co/spaces/phyloforfun/VoucherVision
GNU General Public License v3.0
11 stars 1 forks source link

Add mistralai to requirements.txt #7

Open nickynicolson opened 6 days ago

nickynicolson commented 6 days ago

Installing locally following instructions at installation with conda:

Webapp starts but shows following error message:

  File "/mnt/shared/scratch/nnicolso/apps/conda/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 589, in _run_script
    exec(code, module.__dict__)
  File "/mnt/shared/home/nnicolso/voucher-vision/VoucherVision/app.py", line 16, in <module>
    from vouchervision.API_validation import APIvalidation
  File "/mnt/shared/home/nnicolso/voucher-vision/VoucherVision/vouchervision/API_validation.py", line 2, in <module>
    from mistralai.client import MistralClient
ModuleNotFoundError: No module named 'mistralai'

Perhaps the mistralai package needs to be added to requirements.txt?