#!/usr/bin/env bash # Indra OCR lokal ausprobieren – macOS # Automatisch erzeugt von Tokenstrom (tokenstrom.de). # Aufruf: bash try_mac.sh set -e cd "$(dirname "$0")" echo "== Indra OCR ==" echo "== Python / Hugging Face ==" python3 -m venv .venv-indra-ocr source .venv-indra-ocr/bin/activate pip install -q -U pip pip install -q -U torch huggingface_hub python3 demo.py