nicedouble / StreamlitAntdComponents

A Streamlit component to display Antd-Design
https://nicedouble-streamlitantdcomponentsdemo-app-middmy.streamlit.app/
MIT License
409 stars 28 forks source link

deploy in appEngine #33

Open iuiu34 opened 9 months ago

iuiu34 commented 9 months ago

Hi, i love your work. And i would like to use it on my apps.

That said, my app is deployed in gCloud's appEngine. And i had quite a lot of issues with this other kinda similar lib Owner avatar [streamlit-option-menu](https://github.com/victoryhb/streamlit-option-menu)

Where my clients, randomly, had the error displayed below.

Any user has deployed your lib in appEngine? Do you know if this error may also happen with your lib?

disclaim: this error only happened with streamlit-option-menu, never with streamlit native widgets

thanks

Captura de pantalla 2023-11-10 a les 11 40 10

Puumanamana commented 8 months ago

I have the same issue on AppEngine, it goes away once you refresh once or twice. Maybe this is linked to issue #22?

iuiu34 commented 8 months ago

Yepp. It's the same issue. If Streamlit wants more powerful components, they should fix this.

Cause my app is exposed to clients, meaning i can't use this component due this issue.

iuiu34 commented 8 months ago

In case it helps,

if you use native st pages, instead of sac.menu(). Putting the import in homepage (even if you not use it there, but in another page instead) , seems to solve the issue.

homepage.py

import streamlit_antd_components as sac  # noqa: F401
(...)

sidebar pages