Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -228,7 +228,7 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="blue", secondary_hue="red"))
|
|
| 228 |
slice_other_btn.click(fn=visualize_slices, inputs=other_output, outputs=[slice_plot, onset_times_state, active_stem_state])
|
| 229 |
|
| 230 |
# Correct event listener for plot interaction
|
| 231 |
-
|
| 232 |
fn=preview_slice,
|
| 233 |
inputs=[active_stem_state, onset_times_state],
|
| 234 |
outputs=preview_player
|
|
|
|
| 228 |
slice_other_btn.click(fn=visualize_slices, inputs=other_output, outputs=[slice_plot, onset_times_state, active_stem_state])
|
| 229 |
|
| 230 |
# Correct event listener for plot interaction
|
| 231 |
+
slice_plot.click(
|
| 232 |
fn=preview_slice,
|
| 233 |
inputs=[active_stem_state, onset_times_state],
|
| 234 |
outputs=preview_player
|