Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2437,18 +2437,17 @@ def create_interface():
|
|
2437 |
<h3 class="font-medium text-gray-800 mb-2">Issues found in your document:</h3>
|
2438 |
<ul class="list-none space-y-2">
|
2439 |
"""
|
2440 |
-
for issue in issues_match[:
|
2441 |
# Remove any existing bullet points from the issue text
|
2442 |
clean_issue = issue.strip().lstrip('•').strip()
|
2443 |
issues_html_section += f"""
|
2444 |
<li class="text-gray-600 ml-4">• {clean_issue}</li>
|
2445 |
"""
|
2446 |
-
if len(issues_match) >
|
2447 |
issues_html_section += f"""
|
2448 |
-
<li class="text-gray-500 italic ml-4">... and {len(issues_match) -
|
2449 |
"""
|
2450 |
issues_html_section += "</ul></div>"
|
2451 |
-
|
2452 |
|
2453 |
# Combine the section
|
2454 |
issues_html += f"""
|
|
|
2437 |
<h3 class="font-medium text-gray-800 mb-2">Issues found in your document:</h3>
|
2438 |
<ul class="list-none space-y-2">
|
2439 |
"""
|
2440 |
+
for issue in issues_match[:7]:
|
2441 |
# Remove any existing bullet points from the issue text
|
2442 |
clean_issue = issue.strip().lstrip('•').strip()
|
2443 |
issues_html_section += f"""
|
2444 |
<li class="text-gray-600 ml-4">• {clean_issue}</li>
|
2445 |
"""
|
2446 |
+
if len(issues_match) > 7:
|
2447 |
issues_html_section += f"""
|
2448 |
+
<li class="text-gray-500 italic ml-4">... and {len(issues_match) - 7} more similar issues.</li>
|
2449 |
"""
|
2450 |
issues_html_section += "</ul></div>"
|
|
|
2451 |
|
2452 |
# Combine the section
|
2453 |
issues_html += f"""
|