Spaces:
Sleeping
Sleeping
File size: 312 Bytes
e227a15 |
1 2 3 4 5 6 7 |
import os
class Config:
SECRET_KEY = os.environ.get('SECRET_KEY', 'change_this_secret')
HF_API_TOKEN = os.environ.get('HF_API_TOKEN')
DB_PATH = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'chat_logs.db')
HUGGINGFACE_API_URL = 'https://api-inference.huggingface.co/models/gpt2' |