Seems like it may not be possible from what Iโve found out as Streamlit runs on Tornado, a single threaded web server
However, if you want to speed things up in performing some other codes, concurrent.futures.ThreadPoolExecutor()
may be helpful!