I wanna embed annotation tool, VGG Image Annotator (VIA), into streamlit.
The tool was downloaded from official website that it was a html file. All things were written in one document.
When I opened this html individually to test, everything worked well. However, after I embedded into streamlit, the export function was being invalid.
I wonder that is there any function or reason from streamlit to restrict this function (download files)?
Here is my simple code.
import streamlit.components.v1 as components HtmlFile = open("via_face_demo.html", 'r', encoding='utf-8') source_code = HtmlFile.read() components.html(source_code, height = 1300, width= 1300)
(As streamlit discussion forum cannot allow me to upload html file, so the via_face_demo.html can download from here.)
Thank you so much.