Skip to content

FR Copy Button On Response #8

@se4n01

Description

@se4n01

Hello,
It would be nice to have a copy button I had a look at this which seemed promising but I could not get it to work, I dont know where to insert it exactly into the code for the bot response.

https://github.com/everydaydigital/streamlit-custom-copy-buttons

Essentially it boils down to adding the

st.markdown(f'<iframe style="overflow: hidden;" src="{iframe_url}"></iframe>', unsafe_allow_html=True)

To the right place. A hint at to where that right place is and I can already submit a PR for your perusal

Best wishes,

Sean

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions