Hi @Adri_Lopez,
I really respect how much problem-solving you’re putting into this!
The issue with where you put the output HTML file is that Streamlit has no map to finding this. What you should be able to do (and this isn’t “recommended”, but if you’re intent on hacking a solution for this anyway) is place your HTML file under the “static” folder in the installed streamlit package for your virtual environment.
For example, my static folder for when I’m experimenting with Streamlit features is here:
/Users/nthmost/.local/share/virtualenvs/st_sandbox-D9fr_O3a/lib/python3.7/site-packages/streamlit/static/
Yours should look like mine after the st_sandbox-D9fr_O3a
.
Put an HTML page in there and test it out by doing streamlit hello
and then changing the url to your test page, e.g. http://localhost:8501/test.html
I can promise you this is not going to be a supported way to do things in the future, and we’re working on incorporating 3rd party HTML outputs in Streamlit in a more formal manner. But this should work for you in the short term.
Thanks for your interest!