Hoctar77 commited on
Commit
1afb2a4
·
verified ·
1 Parent(s): d4c5938

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
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[:3]:
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) > 3:
2447
  issues_html_section += f"""
2448
- <li class="text-gray-500 italic ml-4">... and {len(issues_match) - 3} more similar issues.</li>
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"""