How to multhread in streamlit?

I want to run a program where def1 measures and compares the user’s voice size and speed in one page with streamlit, and def2 sets the user’s posture to open cv.

But if you run it in ILDE, it runs well, but if you run it in streamlit, it doesn’t run and continues
2024-05-2401:45:022002 Thread ‘Thread-02’: Error like missing ScriptRunContext.

How do I resolve this error?

Streamlit is a program of single thread-based algorithms and I want to make it work as multi-thread. What should I do?

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.