S
Solara5mo ago
vrob12

how do I build a solara app thats on a website?

I'm new to solara. I have a google collab file that takes in input and prints out output. I want a way to put this on a website somehow so when I go to a link it'll just let me type and press a button. Is this doable?
2 Replies
iisakkirotko
iisakkirotko5mo ago
Hey @vrob12! From your description I'm not quite sure what your setup is like. If you have an .ipynb file with some UI code in it downloaded, you should be able to run it with solara run <your_file>.ipynb. Note that you should have your UI initiated through a variable called Page for Solara to pick it up automatically
iisakkirotko
iisakkirotko5mo ago
See for example the last line of the first script of the quickstart docs, where we make our "app" in a Page function and then call it for the notebook to render.
Solara Quickstart
Get started with building web- and data-apps in pure python with Solara.
Want results from more Discord servers?
Add your server