管理 Streamlit 应用程序

This topic describes how to view, rename, and modify properties of a deployed Streamlit in Snowflake app.

重命名 Streamlit 应用程序

  1. Sign in to Snowsight.
  2. In the navigation menu, select Projects » Streamlit.
  3. 选择要重命名的 Streamlit 应用程序。
  4. Select Edit.
  5. 在左上角选择该应用程序的名称。
  6. 在文本框中输入新名称。
  7. 在文本框外部点击以提交变更。

更改查询仓库

您可能希望切换到容量更大的仓库来处理应用程序运行的查询。

  1. Sign in to Snowsight.
  2. In the navigation menu, select Projects » Streamlit.
  3. 选择要更改其仓库的 Streamlit 应用程序。
  4. 在左上角选择该应用程序的名称。
  5. 从下拉列表中选择新仓库。

更改计算池

您可以在创建容器运行时 Streamlit 应用程序后更改其计算池。这对仓库运行时应用程序没有影响。

  1. Sign in to Snowsight.
  2. In the navigation menu, select Projects » Streamlit.
  3. 选择要更改其计算池的 Streamlit 应用程序。
  4. Select the three-dots button in the upper-right corner, then select App Settings.
  5. 从下拉列表中选择一个新的计算池。
  6. Select Save.

更改暂存区或主文件

Changing the stage or main file is not available from Snowsight. Use SQL instead.

列出 Streamlit 应用程序

  1. Sign in to Snowsight.
  2. In the navigation menu, select Projects » Streamlit.

Snowsight displays all Streamlit apps available to your current role.

查看应用程序详细信息

  1. Sign in to Snowsight.
  2. In the navigation menu, select Projects » Streamlit.
  3. 选择 Streamlit 应用程序。

应用程序详细信息面板显示应用程序的数据库、架构、仓库和其他属性。

共享 Streamlit 应用程序

You can share your Streamlit app with other Snowflake users by granting USAGE privilege to a role. For more information about sharing options, see Sharing Streamlit in Snowflake apps.

  1. Sign in to Snowsight.
  2. In the navigation menu, select Projects » Streamlit.
  3. 选择要共享的 Streamlit 应用程序。
  4. Select Share.
  5. 首先输入要与之共享应用程序的角色的名称,然后选择该角色。
  6. Optional: Select Copy to clipboard to copy the app URL.
  7. Select Done.