Solara

S

Solara

Join the community to ask questions about Solara and get answers from other members.

Join
MaartenBreddels
MaartenBreddels5/7/2024

Very good questions, will get back to

Very good questions, will get back to you on this.
Sander
Sander5/3/2024

Solara on databricks

Hi all, I would like to use Solara on Azure Databricks. I have run several examples and I can get some to work using the workarounds found on the github, but I am getting quite inconsistent results. Sometimes I get the error 'Error displaying widget: Cannot read properties of undefined (reading 'buffer')'. Also running this example code: `import plotly.express as px import solara ...
Elder Millenial
Elder Millenial5/3/2024

Hey all. I have this piece of code and

Hey all. I have this piece of code and can't quite seem to figure out why it's behaving the way it is. ```python import solara ...
No description
Johnowhitaker
Johnowhitaker4/26/2024

Does anyone know how I might interact

Does anyone know how I might interact with anywidgets widgets in solara? I can make one: ```python class CounterWidget(anywidget.AnyWidget): # Widget front-end JavaScript code...
maxbaluev.
maxbaluev.4/23/2024

Hi, can you tell me where to dig to add

Hi, can you tell me where to dig to add supabase auth?
Manoj
Manoj11/23/2023

when embedded with FastAPI is there a

when embedded with FastAPI is there a different port that Solara loads or it's the same port as uvicorn?
Elder Millenial
Elder Millenial10/25/2023

Llama2 Chatbot

I'll create a thread here with the source so it doesn't clutter the chat
romero61
romero6110/21/2023

Use_thread

Hello, I've been using a separate thread to run a long computation process in my application using solara.use_thread. The idea is to keep the UI responsive and prevent server disconnects. I've attached a simplified flow diagram of my setup. However, I'm experiencing inconsistent behavior. Sometimes the process runs perfectly for a long time, but at other times, it crashes almost immediately or after a short while....
huseyin.kaya
huseyin.kaya10/18/2023

For logged on users I want to give users

For logged on users. I want to give users the flexibility of saving the results (basically a nested dictionary with regular and reactive objects mixed) into their AWS S3 buckets. They will reload it later.
Elder Millenial
Elder Millenial10/17/2023

Well I am definitely on the right track

Well, I am definitely on the right track hahaha. This is exactly the approach I took.
rh-afk
rh-afk10/16/2023

another question i just want to combine

another question , i just want to combine cross filter with map (leafmap) however I couldn't make it work: filter, _set_filter = solara.use_cross_filter(id(df))
solara.CrossFilterSelect(df, "class") solara.CrossFilterSelect(df, "name")...
MaartenBreddels
MaartenBreddels10/16/2023

2 No if you put in a top level dict not

2) No, if you put in a top level dict (not reactive) in a module, every user sees the same dictionary. The only problem with that is that you cannot get an event when the data changes, but you could do a proxy. I can give some example code in a thread that doesn't work yet, but might get the idea across better. 4) Not yet, but coming! (see also the new thread)...
animusater
animusater10/12/2023

If I ve setup an app with multiple pages

If I've setup an app with multiple pages using Solara's routing, is there an easy way to redirect a user to a certain page? For example, say I'd want to show a popup and then, after some few seconds, redirect the user to the home page.
christian5432
christian543210/6/2023

Thank you for your answer but next

Thank you for your answer, but next question, why display(button) from widget on solara component doesn' t appear on my codes: import solara import ipywidgets as widgets ...
Jan-Hendrik Müller
Jan-Hendrik Müller10/4/2023

Blender with Solara

st
st8/29/2023

would be very happy to be a guinnea pig

would be very happy to be a guinnea pig 😄
mariobuikhuizen
mariobuikhuizen8/19/2023

Which version of lab running pip install

Which version of lab? running !pip install will install it in the kernel environment, if the lab server is is in a different environment, it still not installed there if you're in the scenario of different environments for server and kernel.
Tao
Tao8/8/2023

Thanks how could I programatically set

Thanks ! how could I programatically set theme from Python side ?
rht
rht8/7/2023

it seems to be functional not sure I

it seems to be functional. not sure I understand the downside of my current approach. but fixing anyway
Tao
Tao8/7/2023

3 what s the best way to implement `push

3. what's the best way to implement push notification ? is it something like this ? and is it run as an OS thread or a greenlet in eventloop ? ``` @solara.component def Page(): push_notifications = solara.use_reactive([])...
Next