Spaces:
Running
Running
Update src/modules/ui_updates.py
Browse files
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)
|