Update main.py
Browse files
main.py
CHANGED
|
@@ -45,7 +45,7 @@ async def upload_csv(file: UploadFile):
|
|
| 45 |
percentage_redundant_urls = (len(redundant_urls) / total_records) * 100 if total_records > 0 else 0
|
| 46 |
|
| 47 |
summary_string = f"<b>Total GET Records:</b> {total_records}<br>" \
|
| 48 |
-
f"<b>% of Redundant GET Requests:</b> {round(percentage_redundant_urls, 2)}%<br>"
|
| 49 |
|
| 50 |
html_table = "<table>"
|
| 51 |
html_table += "<tr><th>GET Request</th><th>Count of Repetition</th></tr>"
|
|
|
|
| 45 |
percentage_redundant_urls = (len(redundant_urls) / total_records) * 100 if total_records > 0 else 0
|
| 46 |
|
| 47 |
summary_string = f"<b>Total GET Records:</b> {total_records}<br>" \
|
| 48 |
+
f"<b>% of Redundant GET Requests,you can save :</b> {round(percentage_redundant_urls, 2)}%<br>"
|
| 49 |
|
| 50 |
html_table = "<table>"
|
| 51 |
html_table += "<tr><th>GET Request</th><th>Count of Repetition</th></tr>"
|