Skip to content
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

Embedded Presentation Preview in Streamlit #2

Open
Govind-S-B opened this issue Nov 21, 2023 · 1 comment
Open

Embedded Presentation Preview in Streamlit #2

Govind-S-B opened this issue Nov 21, 2023 · 1 comment

Comments

@Govind-S-B
Copy link
Owner

Streamlit supports custom widgets , a custom widget that can preview presentations before downloading will be good to have to check out the generated response and regenerate if needed successively

@Govind-S-B
Copy link
Owner Author

One way you can do this is dump the file on pastebin ( paste.c-net.org or paste.rs ) using simple API calls , and then use that to view it on a iframe which streamlit supports

Reference:
https://stackoverflow.com/questions/39855/embed-a-powerpoint-presentation-into-html
https://www.youtube.com/watch?v=oir0fEyvOyE

There are other options as well like converting to pdf and then doing a preview using streamlit
https://discuss.streamlit.io/t/rendering-pdf-on-ui/13505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant