stlite-template / index.html
1TSnakers's picture
Update index.html
a05c8d2 verified
Raw
History Blame Contribute Delete
987 Bytes
<!doctype html>
<!--This a standard stlite html file. You don't edit this directly if you want to change the streamlit code, go to src/streamlit_app.py for that.-->
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>Stlite App</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@stlite/browser@0.83.0/build/stlite.css"
/>
</head>
<body>
<div id="root"></div>
<script type="module">
import { mount } from "https://cdn.jsdelivr.net/npm/@stlite/browser@0.83.0/build/stlite.js";
mount(
{
entrypoint: "streamlit_app.py",
files: {
"streamlit_app.py": {
url: "src/streamlit_app.py"
}
}
},
document.getElementById("root")
);
</script>
</body>
</html>