Politrees commited on
Commit
d67556b
β€’
1 Parent(s): fde25a4

Update src/modules/ui_updates.py

Browse files
Files changed (1) hide show
  1. src/modules/ui_updates.py +7 -0
src/modules/ui_updates.py CHANGED
@@ -23,3 +23,10 @@ def update_button_text_voc():
23
 
24
  def update_button_text_inst():
25
  return gr.update(label="Upload different instrumental")
 
 
 
 
 
 
 
 
23
 
24
  def update_button_text_inst():
25
  return gr.update(label="Upload different instrumental")
26
+
27
+
28
+ def swap_visibility():
29
+ return gr.update(visible=True), gr.update(visible=False), gr.update(value=''), gr.update(value=None)
30
+
31
+ def swap_buttons():
32
+ return gr.update(visible=False), gr.update(visible=True)