Spaces:
Running
Running
| # 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' |