duongthienz commited on
Commit
2d04de0
·
verified ·
1 Parent(s): efe7486

Update ui.py

Browse files
Files changed (1) hide show
  1. ui.py +0 -8
ui.py CHANGED
@@ -331,14 +331,6 @@ def render_speaker_samples_tab(speakerNames, raw_to_display, currFile):
331
  placeholder=f"Rename {sp}…",
332
  )
333
 
334
- # A disabled first submit button suppresses Streamlit's
335
- # "Press Enter to submit form" hint (built-in behaviour)
336
- # while still allowing Enter to submit via the real buttons.
337
- st.form_submit_button(
338
- "", disabled=True,
339
- help=None,
340
- label_visibility="collapsed",
341
- )
342
  _, btn_col1, btn_col2, btn_col3 = st.columns([4, 1, 1, 1])
343
  confirmed_submit = btn_col1.form_submit_button("✓", help="Confirm rename (or press Enter)")
344
  cancel_clicked = btn_col2.form_submit_button("✕", help="Cancel")
 
331
  placeholder=f"Rename {sp}…",
332
  )
333
 
 
 
 
 
 
 
 
 
334
  _, btn_col1, btn_col2, btn_col3 = st.columns([4, 1, 1, 1])
335
  confirmed_submit = btn_col1.form_submit_button("✓", help="Confirm rename (or press Enter)")
336
  cancel_clicked = btn_col2.form_submit_button("✕", help="Cancel")