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:
@@ -92,7 +92,9 @@ pip install -r requirements.txt
|
||||
|
||||
# Install TFLite runtime for object detection
|
||||
echo_info "Installing TFLite runtime for object detection..."
|
||||
pip install tflite-runtime 2>/dev/null || echo_warn "tflite-runtime not available for this platform (object detection will be disabled)"
|
||||
pip install ai-edge-litert 2>/dev/null || \
|
||||
pip install tflite-runtime 2>/dev/null || \
|
||||
echo_warn "No TFLite runtime available for this platform (object detection will be disabled)"
|
||||
|
||||
# Generate SSL certificates if not present
|
||||
if [ ! -f ssl/cert.pem ]; then
|
||||
|
||||
Reference in New Issue
Block a user