Ricercar commited on
Commit
2794bf0
·
1 Parent(s): fe1b9b6

small info at the bottom

Browse files
Files changed (1) hide show
  1. pages/Gallery.py +3 -4
pages/Gallery.py CHANGED
@@ -246,10 +246,9 @@ class GalleryApp:
246
  with dynamic_weight_panel[i]:
247
  btn = st.button(method, use_container_width=True, disabled=btn_disable, on_click=self.dynamic_weight, args=(prompt_id, items, method))
248
 
249
- st.toast('This is a toast')
250
- # prompt = st.chat_input(f"Selected model version ids: {str(st.session_state.selected_dict.get(prompt_id, []))}", disabled=False, key=f'{prompt_id}')
251
- # if prompt:
252
- # switch_page("ranking")
253
 
254
  with st.form(key=f'{prompt_id}'):
255
  # buttons = st.columns([1, 1, 1])
 
246
  with dynamic_weight_panel[i]:
247
  btn = st.button(method, use_container_width=True, disabled=btn_disable, on_click=self.dynamic_weight, args=(prompt_id, items, method))
248
 
249
+ prompt = st.chat_input(f"Selected model version ids: {str(st.session_state.selected_dict.get(prompt_id, []))}", disabled=False, key=f'{prompt_id}')
250
+ if prompt:
251
+ switch_page("ranking")
 
252
 
253
  with st.form(key=f'{prompt_id}'):
254
  # buttons = st.columns([1, 1, 1])