Skip to content

Commit

Permalink
change port to 7860 (#1436)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasht86 authored Oct 7, 2024
1 parent 86df4cb commit 0a91bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/hub/spaces-sdks-python.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Spaces now support arbitrary Dockerfiles so you can host any Python app directly

</Tip>

While not an official workflow, you are able to run your own Python + interface stack in Spaces by selecting Gradio as your SDK and serving a frontend on port `7680`. See the [templates](https://huggingface.co/templates#spaces) for examples.
While not an official workflow, you are able to run your own Python + interface stack in Spaces by selecting Gradio as your SDK and serving a frontend on port `7860`. See the [templates](https://huggingface.co/templates#spaces) for examples.

Spaces are served in iframes, which by default restrict links from opening in the parent page. The simplest solution is to open them in a new window:

Expand Down

0 comments on commit 0a91bda

Please sign in to comment.