You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make a Chainlit app run completely offline, you need to replace external resources with local ones. Here's how you can do it:
Download External Resources Locally: Download the CSS files from the external links, such as the KaTeX library and Google Fonts, and save them in your project's directory.
Update index.html: Modify the index.html file to reference these local files instead of the external URLs. For example, replace:
Serve Local Files: Ensure that your local server is configured to serve these files correctly.
Configure Chainlit: Use the config.toml file to specify any custom CSS or JavaScript if needed. You can use custom_css and custom_js settings to point to your local resources.
By following these steps, you can ensure that your Chainlit app does not rely on external resources and can run offline.
I noticed that there will be access to external CSS resources here
chainlit/frontend/index.html
Line 17 in f6159d5
The text was updated successfully, but these errors were encountered: