Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
6b9f4b3
1
Parent(s):
011baea
update
Browse files
app.py
CHANGED
@@ -1103,7 +1103,7 @@ with gr.Blocks(theme=theme, css=custom_css) as demo:
|
|
1103 |
with gr.Column(scale=1):
|
1104 |
top_k_dropdown = gr.Dropdown(
|
1105 |
choices=["3", "5", "10"],
|
1106 |
-
value="
|
1107 |
label="Top-K Value",
|
1108 |
info="Number of most important text segments to highlight"
|
1109 |
)
|
@@ -1128,7 +1128,7 @@ with gr.Blocks(theme=theme, css=custom_css) as demo:
|
|
1128 |
- **Explanation Level**: Determines how the context is segmented for analysis
|
1129 |
- `sentence`: Analyze at sentence level (recommended for most cases)
|
1130 |
- `paragraph`: Analyze at paragraph level (good for longer documents)
|
1131 |
-
- `text segment`: Analyze at
|
1132 |
|
1133 |
- **Top-K Value**: Number of most important text segments to highlight in results
|
1134 |
- Higher values show more context but may be less focused
|
|
|
1103 |
with gr.Column(scale=1):
|
1104 |
top_k_dropdown = gr.Dropdown(
|
1105 |
choices=["3", "5", "10"],
|
1106 |
+
value="3",
|
1107 |
label="Top-K Value",
|
1108 |
info="Number of most important text segments to highlight"
|
1109 |
)
|
|
|
1128 |
- **Explanation Level**: Determines how the context is segmented for analysis
|
1129 |
- `sentence`: Analyze at sentence level (recommended for most cases)
|
1130 |
- `paragraph`: Analyze at paragraph level (good for longer documents)
|
1131 |
+
- `text segment`: Analyze at the level of 100-word text segments (ideal for non-standard document formats)
|
1132 |
|
1133 |
- **Top-K Value**: Number of most important text segments to highlight in results
|
1134 |
- Higher values show more context but may be less focused
|