зеркало из
https://github.com/ssciwr/AMMICO.git
synced 2025-10-29 13:06:04 +02:00
* fix typos * add buttons for google colab everywhere * update readme, separate out FAQ * add privacy disclosure statement * do not install using uv * update docs notebook * explicit install of libopenblas * explicit install of libopenblas * explicit install of libopenblas * try to get scipy installed using uv * use ubuntu 24.04 * go back to pip * try with scipy only * try with a few others * use hatchling * wording changes, install all requirements * fix offending spacy version * run all tests * include faq in documentation, fix link
33 строки
1013 B
Python
33 строки
1013 B
Python
try:
|
|
from importlib import metadata
|
|
except ImportError:
|
|
# Running on pre-3.8 Python; use importlib-metadata package
|
|
import importlib_metadata as metadata # type: ignore
|
|
from ammico.cropposts import crop_media_posts, crop_posts_from_refs
|
|
from ammico.display import AnalysisExplorer
|
|
from ammico.faces import EmotionDetector, ethical_disclosure
|
|
from ammico.multimodal_search import MultimodalSearch
|
|
from ammico.summary import SummaryDetector
|
|
from ammico.text import TextDetector, TextAnalyzer, PostprocessText, privacy_disclosure
|
|
from ammico.utils import find_files, get_dataframe
|
|
|
|
# Export the version defined in project metadata
|
|
__version__ = metadata.version(__package__)
|
|
del metadata
|
|
|
|
__all__ = [
|
|
"crop_media_posts",
|
|
"crop_posts_from_refs",
|
|
"AnalysisExplorer",
|
|
"EmotionDetector",
|
|
"MultimodalSearch",
|
|
"SummaryDetector",
|
|
"TextDetector",
|
|
"TextAnalyzer",
|
|
"PostprocessText",
|
|
"find_files",
|
|
"get_dataframe",
|
|
"ethical_disclosure",
|
|
"privacy_disclosure",
|
|
]
|