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

fix expander

Browse files
Files changed (1) hide show
  1. generator.py +3 -2
generator.py CHANGED
@@ -110,8 +110,9 @@ class Generator:
110
  })
111
  fig = go.Figure([scatter_data], layout=layout)
112
  plot.plotly_chart(fig, use_container_width=True)
113
- with st.expander("What is it?"):
114
- st.write("You can see how the probability of the desired attribute varies for every generation step.")
 
115
  text.text(current_decoded)
116
 
117
  return (
 
110
  })
111
  fig = go.Figure([scatter_data], layout=layout)
112
  plot.plotly_chart(fig, use_container_width=True)
113
+ if i == 0:
114
+ with st.expander("What is it?"):
115
+ st.write("You can see how the probability of the desired attribute varies for every generation step.")
116
  text.text(current_decoded)
117
 
118
  return (