• myhloli's avatar
    fix(model): move environment variable settings to global scope · f5112e21
    myhloli authored
    - Move environment variable settings for NPU, MPS, and other configurations to the global scope in doc_analyze_by_custom_model.py
    - Remove redundant environment variable settings in pdf_extract_kit.py
    - This change ensures consistent configuration across the application and avoids potential conflicts or duplicate settings
    f5112e21
pdf_extract_kit.py 11.9 KB