Spaces:
Runtime error
Runtime error
Benjamin Bossan
commited on
Commit
•
d3818ef
1
Parent(s):
ba718e9
Improve tooltip
Browse files
edit.py
CHANGED
@@ -201,7 +201,7 @@ def create_form_from_section(
|
|
201 |
on_click=_delete_section,
|
202 |
args=(model_card, key),
|
203 |
key=f"{key}.delete",
|
204 |
-
help="Delete this section",
|
205 |
)
|
206 |
with col_1:
|
207 |
st.button(
|
@@ -209,7 +209,7 @@ def create_form_from_section(
|
|
209 |
on_click=_add_section,
|
210 |
args=(model_card, key),
|
211 |
key=f"{key}.add",
|
212 |
-
help="Add a new
|
213 |
)
|
214 |
with col_2:
|
215 |
st.button(
|
|
|
201 |
on_click=_delete_section,
|
202 |
args=(model_card, key),
|
203 |
key=f"{key}.delete",
|
204 |
+
help="Delete this section, including all its subsections",
|
205 |
)
|
206 |
with col_1:
|
207 |
st.button(
|
|
|
209 |
on_click=_add_section,
|
210 |
args=(model_card, key),
|
211 |
key=f"{key}.add",
|
212 |
+
help="Add a new subsection below this section",
|
213 |
)
|
214 |
with col_2:
|
215 |
st.button(
|