Spaces:
Running
Running
Navid Arabi
commited on
Commit
·
2c7861c
1
Parent(s):
edb5886
some copy changed
Browse files
components/dashboard_page.py
CHANGED
@@ -52,7 +52,7 @@ class DashboardPage:
|
|
52 |
# Combined row for Delete button and Jump controls
|
53 |
with gr.Row(): # Removed style argument to fix TypeError
|
54 |
with gr.Column(scale=1):
|
55 |
-
self.btn_delete = gr.Button("🗑️ Delete Annotation
|
56 |
with gr.Column(scale=2):
|
57 |
pass
|
58 |
|
@@ -99,8 +99,8 @@ class DashboardPage:
|
|
99 |
min_width=150
|
100 |
)
|
101 |
with gr.Row():
|
102 |
-
self.btn_trim = gr.Button("➕ Add Trim
|
103 |
-
self.btn_undo_trim = gr.Button("↩️
|
104 |
self.trims_display = gr.DataFrame(
|
105 |
headers=["Start (s)", "End (s)"],
|
106 |
col_count=(2, "fixed"),
|
|
|
52 |
# Combined row for Delete button and Jump controls
|
53 |
with gr.Row(): # Removed style argument to fix TypeError
|
54 |
with gr.Column(scale=1):
|
55 |
+
self.btn_delete = gr.Button("🗑️ Delete Annotation")
|
56 |
with gr.Column(scale=2):
|
57 |
pass
|
58 |
|
|
|
99 |
min_width=150
|
100 |
)
|
101 |
with gr.Row():
|
102 |
+
self.btn_trim = gr.Button("➕ Add Trim", min_width=150)
|
103 |
+
self.btn_undo_trim = gr.Button("↩️ Delete Last Trim", min_width=150)
|
104 |
self.trims_display = gr.DataFrame(
|
105 |
headers=["Start (s)", "End (s)"],
|
106 |
col_count=(2, "fixed"),
|