Spaces:
Running
Running
File size: 678 Bytes
aee0698 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# AI Configuration
ALGORITHM = 'g4f'
# Model Configuration
DEFAULT_MODEL = 'gpt-4o-mini'
MODELS = {
'GPT-4o': 'gpt-4o',
'GPT-4o Mini': 'gpt-4o-mini'
}
# Rate Limiting (Session based) - Note: Implementing robust user-based rate limiting in Streamlit alone is complex and usually requires a backend. This is a basic session-based limit.
RPM = 10
RPH = 300
RPD = 500
# Queue System - Note: Implementing a full queue system in Streamlit alone is complex and usually requires a backend.
QUEUE_ENABLED = 'enabled'
QUEUE_LIMIT = 5
MAX_QUEUE = 40
QUEUE_WARNING = 10
# App Information
APP_NAME = 'GPT-4o'
APP_DESCRIPTION = 'Simple AI chatbot for users' |