SorbonneUniversity/LAD
1
Multilingual Museum Artifact Extractor
A Streamlit application for extracting artifact information from multilingual museum catalogs and aligning artifact names across English, Arabic, and French.
Hugging Face Space deployment
This repository is configured for a Hugging Face Docker Space. The container starts the Streamlit app with:
streamlit run app.py --server.address=0.0.0.0 --server.port=7860Before starting the Space, add the required secrets in the Space settings.
Required, depending on the models you choose in the UI:
OPENAI_API_KEYMISTRAL_API_KEYGOOGLE_API_KEY
Optional, for database save/cache features:
ENABLE_SUPABASE=trueSUPABASE_URLSUPABASE_ANON_KEY
Features
- Multilingual document processing for English, Arabic, and French
- OCR with adaptive correction
- Artifact metadata extraction and cross-language alignment
- Review, export, and optional Supabase persistence
- Streamlit UI with per-run logs and provenance views
Project structure
app.py: Streamlit entrypointmain.py: CLI entrypointconfig.py: configuration defaultsmodules/: processing, OCR, extraction, validation, and database helpersprompts/: prompt templatesrequirements.txt: Python dependenciesDockerfile: Hugging Face Space container runtime
