Spaces:
Sleeping
Sleeping
Update split_files_to_excel.py
Browse files- split_files_to_excel.py +1 -1
split_files_to_excel.py
CHANGED
|
@@ -78,7 +78,7 @@ def change_textbox(dropdown,radio):
|
|
| 78 |
if len(dropdown) == 0 :
|
| 79 |
dropdown = ["introduction", "objective", "summary", "conclusion"]
|
| 80 |
if radio == "Intelligent split":
|
| 81 |
-
return gr.Dropdown(dropdown, visible=False), gr.Number(
|
| 82 |
elif radio == "Intelligent split by keywords":
|
| 83 |
return gr.Dropdown(dropdown, multiselect=True, visible=True, allow_custom_value=True), gr.Number(visible=False)
|
| 84 |
elif radio == "Non intelligent split":
|
|
|
|
| 78 |
if len(dropdown) == 0 :
|
| 79 |
dropdown = ["introduction", "objective", "summary", "conclusion"]
|
| 80 |
if radio == "Intelligent split":
|
| 81 |
+
return gr.Dropdown(dropdown, visible=False), gr.Number(label="First pages to keep (0 for all)", value=2, interactive=True, visible=True)
|
| 82 |
elif radio == "Intelligent split by keywords":
|
| 83 |
return gr.Dropdown(dropdown, multiselect=True, visible=True, allow_custom_value=True), gr.Number(visible=False)
|
| 84 |
elif radio == "Non intelligent split":
|