-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
34 lines (30 loc) · 1.08 KB
/
.env.example
File metadata and controls
34 lines (30 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# API Keys and Secrets (OPTIONAL)
# ================================
#
# NOTE: This file is NOT required for the current MAX Graph examples to work!
# The .env file is only used by the Mojo lexicon classifier (v0.1.0).
#
# Setup:
# 1. Copy this file to .env
# 2. Fill in your actual values
# 3. NEVER commit the .env file to version control!
# Usage Examples:
#
# Python (using python-dotenv):
# from dotenv import load_dotenv
# import os
# load_dotenv()
# hf_token = os.getenv("HUGGINGFACE_API_KEY")
#
# Mojo (using mojo-dotenv from https://github.com/databooth/mojo-dotenv):
# from dotenv import dotenv_values
# var env_vars = dotenv_values(".env")
# var hf_token = env_vars.get("HUGGINGFACE_API_KEY", "")
# HuggingFace API key (optional - for private model downloads)
# The examples use publicly available models and don't require this
HUGGINGFACE_API_KEY=your_huggingface_key_here
# Authentication token (future use)
AUTH_TOKEN=your_auth_token_here
# Model storage credentials (future use)
MODEL_STORAGE_ACCESS_KEY=your_access_key_here
MODEL_STORAGE_SECRET_KEY=your_secret_key_here