How to Run a Streamlit Application in Palantir Foundry?

I have written a code in streamlit, what process should i follow to run it in foundry ? Could anyone guide me through the steps ?

Hello Ashesh,

In the documentation here: https://www.palantir.com/docs/foundry/code-workspaces/jupyterlab#streamlit-applications you can find information about streamlit.

You will need to open up the Code Workspaces application.
To create a Streamlit application, follow the instructions below:

  1. Select Publish application, choose a location in your Files and Projects for your new application, and enter the name of your Python file relative to the root of the repository, for example, app.py.
  2. Optional: Configure advanced settings. By default, the application settings will match the settings of the JupyterLab® workspace.
  3. Select Publish and sync to register your new Streamlit application and sync the code to the backing code repository. After CI checks and publishing are complete, you can select the link in the Applications panel to view the published application.

Thank you, this was really helpful, can we run other frameworks as well such as django ?