Балаганский Никита Николаевич commited on
Commit
f3b65af
1 Parent(s): 0447220

update caption

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def main():
107
  label_key = st.selectbox(ATTRIBUTE_LABEL[language], [list(label2id.keys())[-1]])
108
  target_label_id = 1
109
  prompt = st.text_input(TEXT_PROMPT_LABEL[language], PROMPT_EXAMPLE[language])
110
- st.latex("p(x_i|x_{<i}, c) \propto p(x_i|x_{<i})p(c|x_{\leq i})^{\alpha}")
111
  alpha = st.slider("Alpha", min_value=-10, max_value=10, step=1, value=0)
112
  entropy_threshold = st.slider("Entropy threshold", min_value=0., max_value=10., step=.1, value=2.)
113
  plot_idx = np.argmin(np.abs(entropy_threshold - x_s))
 
107
  label_key = st.selectbox(ATTRIBUTE_LABEL[language], [list(label2id.keys())[-1]])
108
  target_label_id = 1
109
  prompt = st.text_input(TEXT_PROMPT_LABEL[language], PROMPT_EXAMPLE[language])
110
+ st.latex(r"p(x_i|x_{<i}, c) \propto p(x_i|x_{<i})p(c|x_{\leq i})^{\alpha}")
111
  alpha = st.slider("Alpha", min_value=-10, max_value=10, step=1, value=0)
112
  entropy_threshold = st.slider("Entropy threshold", min_value=0., max_value=10., step=.1, value=2.)
113
  plot_idx = np.argmin(np.abs(entropy_threshold - x_s))