-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
26 lines (21 loc) · 912 Bytes
/
.env.example
File metadata and controls
26 lines (21 loc) · 912 Bytes
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
# Dustbin Environment Configuration
# Flask Configuration
SECRET_KEY=your-secret-key-here
FLASK_ENV=development
FLASK_DEBUG=True
# Database Configuration
DATABASE_URL=sqlite:///dustbin.db
# Hugging Face AI Integration (Optional)
# Get your API token from: https://huggingface.co/settings/tokens
# This enables AI-powered features like:
# - Advanced code completion
# - Intelligent language detection
# - Code explanation and analysis
HUGGINGFACE_API_TOKEN=your-huggingface-api-token-here
# Recommended Hugging Face Models (these are set in ai_helper.py):
# - Code Completion: Salesforce/codegen-350M-mono
# - Language Detection: microsoft/codebert-base-mlm
# - Code Analysis: microsoft/CodeBERT-base
# - Text Generation: microsoft/DialoGPT-small
# Note: AI features work with limited functionality even without the API token
# The system falls back to rule-based language detection and basic explanations