build: fix version issues with numpy/tensorflow and ipywidgets

Этот коммит содержится в:
Inga Ulusoy 2025-10-22 14:00:22 +02:00
родитель 4a04233536
Коммит 92c7ac1f6d
Не найден ключ, соответствующий данной подписи
2 изменённых файлов: 6 добавлений и 1 удалений

4
FAQ.md
Просмотреть файл

@ -62,6 +62,10 @@ Be careful, it requires around 7 GB of disk space.
![Screenshot 2023-06-01 165712](https://github.com/ssciwr/AMMICO/assets/8105097/3dfb302f-c390-46a7-a700-4e044f56c30f)
### Version clashes between tensorflow and numpy
Due to the `faces` module, the tensorflow version is currently fixed to at most `2.14.0`. This requires that `numpy` is restricted to `numpy==1.23.5`. If you experience issues with compatibility between tensorflow and numpy, you can try fixing the numpy version to this version.
## What happens to the images that are sent to google Cloud Vision?
You have to accept the privacy statement of ammico to run this type of analyis.

Просмотреть файл

@ -34,7 +34,7 @@ dependencies = [
"importlib_metadata",
"importlib_resources",
"matplotlib",
"numpy",
"numpy==1.23.5",
"opencv-python",
"pandas",
"Pillow",
@ -69,6 +69,7 @@ nb = [
"datasets",
"huggingface-hub",
"ipython",
"ipykernel<=6.30.1",
"jupyter",
"jupyter_dash",
]