File size: 808 Bytes
cb01b8b
 
2f72a98
3d75c7f
cb01b8b
2f72a98
cb01b8b
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Required: Authentication password for API access
GEMINI_AUTH_PASSWORD=123456

# Option 1: Credentials as JSON string (highest priority - overrides file-based credentials. HF only. Don't use!)
# GEMINI_CREDENTIALS={"client_id":"your-client-id","client_secret":"your-client-secret","token":"your-access-token","refresh_token":"your-refresh-token","scopes":["https://www.googleapis.com/auth/cloud-platform"],"token_uri":"https://oauth2.googleapis.com/token"}

# Option 2: Path to credentials file (only used if GEMINI_CREDENTIALS is not set)
GOOGLE_APPLICATION_CREDENTIALS=oauth_creds.json

# Optional: Google Cloud Project ID (if not in credentials)
# GOOGLE_CLOUD_PROJECT=your-project-id

# Server configuration (optional)
# HOST=0.0.0.0
# PORT=8888  # Default compatibility port (use 7860 for Hugging Face)