wyctorfogos's picture
update: Changes for production
3ce0f15
Raw
History Blame Contribute Delete
522 Bytes
# Environment Variables Configuration
# Copy this file to .env and adjust values as needed
# PyTorch Configuration
PYTORCH_CUDA_PER_PROCESS_MEMORY_FRACTION=0.8
# Gradio Configuration
GRADIO_QUEUE_SIZE=32
GRADIO_QUEUE_CONCURRENCY_COUNT=2
# Debug/Logging (set to 1 to enable)
DEBUG=0
# Model Configuration (optional overrides)
# PREFERRED_FOLD=3
# PREFERRED_ARCHITECTURE=gfcam
# HuggingFace Hub (if downloading models from Hub)
# HF_TOKEN=your_token_here
# Disable telemetry (for privacy)
GRADIO_NO_SEND_LOGGED_DATA=1