Spaces:
Sleeping
Sleeping
poemsforaphrodite
commited on
Commit
•
e8feae8
1
Parent(s):
15e9b22
Update app.py
Browse files
app.py
CHANGED
@@ -576,9 +576,7 @@ def show_paginated_dataframe(report, rows_per_page=20):
|
|
576 |
|
577 |
report['ctr'] = report['ctr'].apply(format_ctr)
|
578 |
report['relevancy_score'] = report['relevancy_score'].apply(format_relevancy_score)
|
579 |
-
|
580 |
-
print("hgelasd")
|
581 |
-
def truncate_url(url, max_length=50):
|
582 |
parsed_url = urllib.parse.urlparse(url)
|
583 |
base_url = f"{parsed_url.scheme}://{parsed_url.netloc}"
|
584 |
path = parsed_url.path
|
|
|
576 |
|
577 |
report['ctr'] = report['ctr'].apply(format_ctr)
|
578 |
report['relevancy_score'] = report['relevancy_score'].apply(format_relevancy_score)
|
579 |
+
def truncate_url(url, max_length=5):
|
|
|
|
|
580 |
parsed_url = urllib.parse.urlparse(url)
|
581 |
base_url = f"{parsed_url.scheme}://{parsed_url.netloc}"
|
582 |
path = parsed_url.path
|