Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -190,16 +190,15 @@ with gr.Blocks() as demo:
|
|
190 |
dd_status = gr.Dropdown(label="Status to look for (Optional)", allow_custom_value=False, multiselect=True, scale=7)
|
191 |
btn_search_status = gr.Button("Search for status", scale=2)
|
192 |
btn_extract = gr.Button("Extract excel from URL")
|
193 |
-
|
194 |
-
with gr.Tab("Split Files"):
|
195 |
-
gr.Markdown("### Upload your standard documentation (pdf, doc, docx) to split it into paragraphs in an Excel file")
|
196 |
-
radio = gr.Radio(
|
197 |
-
["Intelligent split", "Intelligent split by keywords"], label="Choose your selection", value = "Intelligent split"
|
198 |
-
)
|
199 |
-
dropdown_split = gr.Dropdown(["introduction", "objective", "conclusion", "summary"], multiselect=True, visible=False, allow_custom_value=True, label="Select or add keywords")
|
200 |
-
|
201 |
-
fi_input = gr.File(file_count='multiple')
|
202 |
-
"""
|
203 |
|
204 |
with gr.Tab("Ask LLM"):
|
205 |
gr.Markdown("### This section utilizes Large Language Models (LLMs) to query rows in an Excel file")
|
|
|
190 |
dd_status = gr.Dropdown(label="Status to look for (Optional)", allow_custom_value=False, multiselect=True, scale=7)
|
191 |
btn_search_status = gr.Button("Search for status", scale=2)
|
192 |
btn_extract = gr.Button("Extract excel from URL")
|
193 |
+
|
194 |
+
# with gr.Tab("Split Files"):
|
195 |
+
# gr.Markdown("### Upload your standard documentation (pdf, doc, docx) to split it into paragraphs in an Excel file")
|
196 |
+
# radio = gr.Radio(
|
197 |
+
# ["Intelligent split", "Intelligent split by keywords"], label="Choose your selection", value = "Intelligent split"
|
198 |
+
# )
|
199 |
+
# dropdown_split = gr.Dropdown(["introduction", "objective", "conclusion", "summary"], multiselect=True, visible=False, allow_custom_value=True, label="Select or add keywords")
|
200 |
+
#
|
201 |
+
# fi_input = gr.File(file_count='multiple')
|
|
|
202 |
|
203 |
with gr.Tab("Ask LLM"):
|
204 |
gr.Markdown("### This section utilizes Large Language Models (LLMs) to query rows in an Excel file")
|