From ea97a12dc60a997dd449938285873cad79964d76 Mon Sep 17 00:00:00 2001 From: Michael Scheiwiller Date: Wed, 7 Aug 2024 10:42:44 +0200 Subject: [PATCH 1/2] fix: update iframe to point to working streamlit space --- docs/hub/spaces-sdks-streamlit.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/docs/hub/spaces-sdks-streamlit.md b/docs/hub/spaces-sdks-streamlit.md index c955b645f..0c4d7b04a 100644 --- a/docs/hub/spaces-sdks-streamlit.md +++ b/docs/hub/spaces-sdks-streamlit.md @@ -76,24 +76,23 @@ This Python script uses a [🤗 Transformers pipeline](https://huggingface.co/do ## Embed Streamlit Spaces on other webpages -You can use the HTML ` ``` - From fda3d3bbc63d4b6ee469bc01ea1d6ca2c184b439 Mon Sep 17 00:00:00 2001 From: Michael Scheiwiller Date: Wed, 7 Aug 2024 10:43:54 +0200 Subject: [PATCH 2/2] docs: delete outdated comment about embed=true --- docs/hub/spaces-sdks-streamlit.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/hub/spaces-sdks-streamlit.md b/docs/hub/spaces-sdks-streamlit.md index 0c4d7b04a..ed81a4514 100644 --- a/docs/hub/spaces-sdks-streamlit.md +++ b/docs/hub/spaces-sdks-streamlit.md @@ -97,9 +97,6 @@ You can use the HTML ` -Please note that we have added `?embed=true` to the URL, which activates the embed mode of the Streamlit app, removing some spacers and the footer for slim embeds. - - ## Embed Streamlit Spaces with auto-resizing IFrames Streamlit has supported automatic iframe resizing since [1.17.0](https://docs.streamlit.io/library/changelog#version-1170) so that the size of the parent iframe is automatically adjusted to fit the content volume of the embedded Streamlit application.