LaTeX equations in widgets' labels and options

I like to know how I can put LaTeX inside the labels and options of streamlit widgets eg. st.number_input, st.checkbox,, st.multiselect etc.
For example:

import streamlit as st
if st.button("Start answering the questions on $E_k$") is True:
     ans =
                 "Select the correct equation of $E_k$",
                 ("$mgh$", "$\\frac{1}{2}mv^2$"))

Is there any hack to get the equations properly appeared?