Skip to content

Additional Customizations

This repo also contains a config.toml file, which sets the app’s default theme to light mode and disables dark mode. The config.toml file lets you tweak other options on your Streamlit app, including its styling.1 To implement this customization, you’d have to upload a config.toml to your GitHub repo along with the other app files. Without this file, as I wrote it here, the app will be rendered in either light or dark mode depending on the user’s browser preferences.

You can further customize the chat interface, such as adding more interactive elements or changing the theme. Experiment with different settings to find what works best for your educational needs. Check out the Streamlit Docs for options and the Streamlit Gallery for ideas.

Finally, this template is written for the OpenAI Assistants API, but it can easily be customized to work with other LLMs.

Footnotes

  1. A .toml file is just a text file written in a specific format that is often used for settings and configuration files like this.