# Environment variables for Hugging Face Spaces deployment | |
PORT=7860 | |
FLASK_APP=image_descriptor.py | |
TRANSFORMERS_CACHE=/app/.cache/huggingface/transformers | |
HF_HOME=/app/.cache/huggingface | |
GRADIO_ANALYTICS_ENABLED=False | |
GRADIO_SERVER_NAME=0.0.0.0 | |
GRADIO_SERVER_PORT=7860 | |
# Uncomment to run only the API without the UI | |
# API_ONLY=true | |
# Uncomment to run both the UI and API | |
# ENABLE_UI=true |