Skip to content

Commit 6f0fa95

Browse files
spaces-streamlit: no default port override (#698)
1 parent d9e2020 commit 6f0fa95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/hub/spaces-sdks-streamlit.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ You can edit the `sdk_version`, but note that issues may occur when you use an u
1515

1616
For in-depth information about Streamlit, refer to the [Streamlit documentation](https://docs.streamlit.io/).
1717

18+
<Tip warning={true}>
19+
Only port 8501 is allowed for Streamlit Spaces (default port). As a result if you provide a `config.toml` file for your Space make sure the default port is not overriden.
20+
</Tip>
21+
1822
## Your First Streamlit Space: Hot Dog Classifier
1923

2024
In the following sections, you'll learn the basics of creating a Space, configuring it, and deploying your code to it. We'll create a **Hot Dog Classifier** Space with Streamlit that'll be used to demo the [julien-c/hotdog-not-hotdog](https://huggingface.co/julien-c/hotdog-not-hotdog) model, which can detect whether a given picture contains a hot dog 🌭

0 commit comments

Comments
 (0)