Is it possible to support a subset of elements as ...
# kilua
y
Is it possible to support a subset of elements as found in streamlit python web Framework?https://docs.streamlit.io/develop/api-reference
Support for user inputs, slider, form data… and then somehow showing some of the plot rendering, dataframe tables… this will be ssr usecase i think.
Is this something kilua would be able to render?
r
I'm not sure I understand your question. Do you want to somehow integrate with a python framework?
y
Close.. want to see if this could be integrated with kotlin based machine learning applications… so if there was a way to provide some easy abstraction similar to the stremlit api over kilua..(or any other kotlin based frameworks)
r
Kilua apps work in the browser. You would need a machine learning framework with some kind of remote api (e.g. rest). Unfortunately I don't know much about machine learning, so I can't really help you with this.
y
no worries. . thanks for your inputs
r
I've found this project: https://github.com/londogard/photo-fritz2 It uses fritz2 (another Kotlin/JS framework) to integrate with ONNX running in the browser. This is something you could easily do with Kilua as well and it could work with full Wasm performance.
y
Thanks, although the use case is more to run them on the backend and just show the results on the frontend… however the api to create the ui elements on frontend could be similar to the streamlit like…
this would be an example usecase of the ui:

https://github.com/qhjqhj00/MemoRAG/blob/main/asset/demo.gif