MOD / visualizer.hf.toml
Muhammad Usman
Initial deploy to Hugging Face
25eb9f7
raw
history blame contribute delete
443 Bytes
# Preset for Hugging Face Spaces (CPU-friendly with depth & shading enabled)
# Run with:
# VISUALIZER_CONFIG=visualizer.hf.toml uvicorn app:app --host 0.0.0.0 --port 7860
[models]
segmentation_model = "segformer"
segformer_model_name = "nvidia/segformer-b2-finetuned-ade-512-512"
depth_model_name = "Intel/dpt-large"
intrinsic_model_version = "v2"
[runtime]
enable_depth_estimation = true
enable_intrinsic_shading = true
data_dir = "data"