-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split the section about embed=true parameter of embedded Streamlit apps #709
base: main
Are you sure you want to change the base?
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
f88d84e
to
ded2dd0
Compare
ded2dd0
to
0febb6d
Compare
Hi @whitphx! Should we close this PR? |
@osanseviero Sorry it has been stale for a long time. I fixed it and marked as ready. |
docs/hub/spaces-sdks-streamlit.md
Outdated
``` | ||
|
||
<iframe | ||
src="https://NimaBoscarino-hotdog-streamlit.hf.space" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Space is not working right now, so the embed won't work either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created a new Space with the same code in my namespace.
``` | ||
<iframe | ||
src="https://NimaBoscarino-hotdog-streamlit.hf.space" | ||
title="My awesome Streamlit Space" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also include the height
, as it is mentioned in your comment below? What about all the allow
settings, are they required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The height
used below is an ad-hoc optimization, so I think leaving this sample code as-is without height
would be ok as an example.
Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
Co-authored-by: Pedro Cuenca <pedro@huggingface.co>
…because it's not working
is this still in process @whitphx? or can it be closed? |
Successor to #688
The
embed=true
query parameter has a noteworthy side effect, so its section should be separated.TODO: While the updated content is correct for the upstream Streamlit, HF Spaces' patched Streamlit always disables scrolling even when being served without
embed=true
, so we have to investigate it before publishing this change.