Solara

S

Solara

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

Join
SSander5/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 ...
EMElder 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
JJohnowhitaker4/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...
Mmaxbaluev.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?
MManoj11/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?
EMElder Millenial10/25/2023

Llama2 Chatbot

I'll create a thread here with the source so it doesn't clutter the chat
Rromero6110/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....
Hhuseyin.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.
EMElder 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.
Rrh-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")...
MMaartenBreddels10/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)...
Aanimusater10/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.
Cchristian543210/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 ...
JMJan-Hendrik Müller10/4/2023

Blender with Solara

Sst8/29/2023

would be very happy to be a guinnea pig

would be very happy to be a guinnea pig 😄
Mmariobuikhuizen8/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.
TTao8/8/2023

Thanks how could I programatically set

Thanks ! how could I programatically set theme from Python side ?
Rrht8/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
TTao8/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([])...
TTao8/7/2023

2 when I create a module level reactive

2. when I create a module level reactive var like x = solara.reactive(None), is it application wide or session wide ? seems like application wide, how could I get a session wide var on Python side ?
Next