File size: 388 Bytes
e59dc66
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
# 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