Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,6 +59,8 @@ def gradio_interface(text, query):
|
|
| 59 |
# Create Gradio blocks interface
|
| 60 |
with gr.Blocks() as demo:
|
| 61 |
gr.Markdown("## Text Processing and Querying Interface")
|
|
|
|
|
|
|
| 62 |
text_input = gr.Textbox(lines=10, placeholder="Enter the text to process here...")
|
| 63 |
query_input = gr.Textbox(lines=1, placeholder="Enter the query here...")
|
| 64 |
max_len_output = gr.Textbox(lines=1, placeholder="Max token length will be displayed here...")
|
|
|
|
| 59 |
# Create Gradio blocks interface
|
| 60 |
with gr.Blocks() as demo:
|
| 61 |
gr.Markdown("## Text Processing and Querying Interface")
|
| 62 |
+
|
| 63 |
+
gr.Markdown("This interface allows you to process a large text document, split it into manageable chunks, and query it using a specified text query. The results will display the max token length and the top 10 document matches for the query.")
|
| 64 |
text_input = gr.Textbox(lines=10, placeholder="Enter the text to process here...")
|
| 65 |
query_input = gr.Textbox(lines=1, placeholder="Enter the query here...")
|
| 66 |
max_len_output = gr.Textbox(lines=1, placeholder="Max token length will be displayed here...")
|