Support ai-edge-litert as TFLite runtime
tflite-runtime has no wheels for Python 3.12+. Google replaced it with ai-edge-litert (same API). detector.py now tries ai-edge-litert first, falls back to tflite-runtime for older Python versions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,4 +14,5 @@ python-dotenv>=1.0.0
|
||||
httpx>=0.24.0
|
||||
|
||||
# Object detection (installed separately by setup.sh)
|
||||
# tflite-runtime>=2.14.0
|
||||
# pip install ai-edge-litert (Python 3.12+)
|
||||
# pip install tflite-runtime (Python 3.9-3.11)
|
||||
|
||||
Reference in New Issue
Block a user