Spaces:
Runtime error
Runtime error
msIntui
feat: update model downloading from Azure Blob Storage and environment configuration
e2c1993 | # OpenAI and API Keys | |
| OPENAI_API_KEY=your_openai_api_key | |
| TAVILY_API_KEY=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 | |
| LANGCHAIN_API_KEY=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 | |
| LANGCHAIN_TRACING_V2=true | |
| LANGCHAIN_PROJECT=P&ID agent | |
| LANGSMITH_API_KEY=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 | |
| # Storage Configuration | |
| STORAGE_TYPE=local | |
| AZURE_STORAGE_CONTAINER_NAME='pnid-models' | |
| # Azure Storage Connection Strings | |
| AZURE_STORAGE_PRIMARY_CONNECTION='DefaultEndpointsProtocol=https;AccountName=pidmodelstorage019659c7a;AccountKey=PYE6QujpTMkciPKLMDsNQzDqCIn331on1cv4MvpRsBPC8ud84jeIVJQoargLuigoN6kdjAICi0u1+AStkTuRSg==;EndpointSuffix=core.windows.net' | |
| AZURE_STORAGE_SECONDARY_CONNECTION='DefaultEndpointsProtocol=https;AccountName=pidmodelstorage019659c7a;AccountKey=6DS5ApT8Z7pw7tSjavt+S83mX/DJquxf5NuEB2Q2svy9OyubBYh/Hog9jz1wWdKZID8cyul2ecrL+AStVNF9lQ==;EndpointSuffix=core.windows.net' | |
| # Runtime Settings | |
| USE_TORCH=1 | |
| GRADIO_SERVER_PORT=7861 | |
| # Model Paths | |
| MODEL_SDM_41_PATH=models/Intui_SDM_41.pt | |
| MODEL_SDM_30_PATH=models/Intui_SDM_30.pt | |
| MODEL_SDM_20_PATH=models/Intui_SDM_20.pt | |
| MODEL_DEEPLSD_PATH=models/deeplsd_md.tar | |
| MODEL_CRAFT_PATH=models/craft_mlt_25k.pth | |
| MODEL_ENGLISH_PATH=models/english_g2.pth | |
| MODEL_LDM_PATH=models/intui_LDM_01.pt | |
| # Legacy Model Paths (can be removed if not used) | |
| # YOLO_MODEL_PATH=models/yolo/yolov8n.pt | |
| # DEEPLSD_MODEL_PATH=models/deeplsd/deeplsd_md.tar | |
| # DOCTR_MODEL_PATH=models/doctr/ocr_predictor.pt |