Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
bibibi12345
/
gcli2api
like
11
Running
App
Files
Files
Community
6
Fetching metadata from the HF Docker repository...
105831b
gcli2api
/
.env.example
bibibi12345
fixing project id env variable loading
3d75c7f
6 days ago
raw
Copy download link
history
blame
Safe
808 Bytes
# 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)