Hi all. I used scripy integration.quad within a while loop in my backend that I wanted to call in streamlit. However, it resulted in really slow runtime (it took almost 30 minutes to run, whereas without streamlit it took 1min). Does anyone have any ideas why that would be the case? The only reason I can think of is that streamlit does not support @jit but I don’t know if that’s true. (I’m also not entirely sure if the slow runtime is caused by the integration, but that’s the only part that seems to have something to do with the runtime since everything works fine in my backend). Any suggestions would be appreciated! Thanks
Hello @samzhu, welcome to the forum!
Are you able to share a code snippet of your problem so we can easily reproduce on our side? Thanks in advance!