S
Solara2mo ago
no_dice

Would it be possible to build a chat interface in Solara which had up/down vote options for the chat

Would it be possible to build a chat interface in Solara which had up/down vote options for the chat?
16 Replies
no_dice
no_diceOP2mo ago
I can't seem to find that specifically in the docs but its possible I'm still missing it.
Ahmed Moubtahij
Ahmed Moubtahij2mo ago
What would you use for web deployment of a solara app? I'm considering options like Vercel or Railway
MaartenBreddels
MaartenBreddels2mo ago
I liked render.com
pecneb
pecneb2mo ago
Hey guys! I am pretty new at Solara, how to implement an image zoomer module, where the user can open an image with a popup window and zoom into it?
Jan-Hendrik Müller
Hi there! I just figured out, you can run solara apps with the package manager uv! uvx --with matplotlib solara run demo_solara.py
import solara
from matplotlib.figure import Figure

@solara.component
def Page():
fig = Figure()
ax = fig.subplots()
ax.plot([1, 2, 3], [1, 4, 9])
return solara.FigureMatplotlib(fig)

Page()
import solara
from matplotlib.figure import Figure

@solara.component
def Page():
fig = Figure()
ax = fig.subplots()
ax.plot([1, 2, 3], [1, 4, 9])
return solara.FigureMatplotlib(fig)

Page()
MaartenBreddels
MaartenBreddels2mo ago
Cool! I was a bit confused at first, but i see it's like npx, if the package name (solara) is also the command line utit, then 🪄
zomo
zomo2mo ago
"i know this server is not related to roblox" is WILD 😭
izumi.qu
izumi.qu4w ago
hey guys, I've update my solara to 1.40.0 from 1.37.0 ,and got a warning: C:\Users\A\anaconda3\envs\solara-develop\lib\site-packages\solara\server\starlette.py:455: UserWarning: Cookies with samesite=none require https, but according to the asgi framework, the scheme is 'http' and the x-forwarded-proto header is 'http'. We will fallback to samesite=lax. If you embed solara in an iframe, make sure you forward the x-forwarded-proto header correctly so that the session cookie can be set. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite for more information on samesite cookies. Also check out the following Solara documentation: * https://solara.dev/documentation/getting_started/deploying/self-hosted * https://solara.dev/documentation/advanced/howto/embed warnings.warn(f"""Cookies with samesite=none require https, but according to the asgi framework, the scheme is {request.scope['scheme']!r} what should I do to solve this?
MDN Web Docs
Set-Cookie - HTTP | MDN
The Set-Cookie HTTP response header is used to send a cookie from the server to the user agent, so that the user agent can send it back to the server later. To send multiple cookies, multiple Set-Cookie headers should be sent in the same response.
Deploying and hosting your own Solara app
Solara is compatible with many different hosting solutions, such as Flask, Starlette, FastAPI, and Voila.
Embedding Solara applications into existing websites
Solara can be embedded into existing websites. Although it is technically possible to embed a Solara app into an existing webpage, we currently support embedding primarily via iframes.
Zexkoqq
Zexkoqq4w ago
yo how to download it
GuiGui
GuiGui4w ago
real
mommys good boy
is solara safe
🖤Darkness🖤
hi
MaartenBreddels
This is not Roblox related solara, please read carefully before joining
FilteredOut
FilteredOut2w ago
Is there any way to change the color of a Spinner component? I like the animation, but it won’t carry the theme coloring I’m using for the rest of the components. I was opting for this because I couldn’t figure out how to redirect my tqdm progress output to my log textarea
MaartenBreddels
Did you mean the colors of the 'suns' in https://solara.dev/documentation/components/status/spinner ?
FilteredOut
FilteredOut2w ago
Yeah exactly
Want results from more Discord servers?
Add your server