We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@stlite/mountable
Only with code like this, stlite should load app.py and run it.
app.py
stlite.mount({ entrypointUrl: "./app.py", requirements: [...] });
Even if the app.py imports other module e.g. from .foo import bar, stlite hooks the import and tries to load foo.py via HTTP access.
from .foo import bar
foo.py
This makes it possible to serve an existing Streamlit project as a stlite app just by adding a single templated HTML file.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Only with code like this, stlite should load
app.py
and run it.Even if the
app.py
imports other module e.g.from .foo import bar
, stlite hooks the import and tries to loadfoo.py
via HTTP access.This makes it possible to serve an existing Streamlit project as a stlite app just by adding a single templated HTML file.
The text was updated successfully, but these errors were encountered: