Buradasın
Streamlit config.toml Configuration Guide
docs.streamlit.io/develop/api-reference/configuration/config.tomlYapay zekadan makale özeti
- File Structure
- config.toml is an optional TOML file for local or global configuration
- Global configuration takes precedence over local settings
- Local configuration goes in .streamlit/config.toml directory
- Global configuration is stored in user profile directory
- Key Configuration Areas
- Client settings control error display and toolbar visibility
- Server configuration manages file watching and security
- Theme settings control colors and fonts
- Secrets configuration manages environment variables
- Security and Performance
- Supports CORS and XSRF protection for cross-origin requests
- Allows file uploads up to 200MB
- Enables WebSocket compression and disconnection timeout
- Supports HTTPS with certificate and key files
- Usage
- Configuration can be viewed using "streamlit config show" command
- Environment variables and command-line options override global settings
- Default port is 8501, except for internal development
- Supports Mapbox integration with custom tokens