wony617
commited on
Commit
·
10adc15
1
Parent(s):
22556a8
Modify url
Browse files- translator/retriever.py +1 -1
translator/retriever.py
CHANGED
|
@@ -73,7 +73,7 @@ def get_github_issue_open_pr(lang: str = "ko"):
|
|
| 73 |
if (match := pattern.search(pr["title"]))
|
| 74 |
]
|
| 75 |
pr_info_list = [
|
| 76 |
-
f"https://github.com/huggingface/transformers/pull/{pr[
|
| 77 |
for pr in filtered_prs
|
| 78 |
]
|
| 79 |
return filenames, pr_info_list
|
|
|
|
| 73 |
if (match := pattern.search(pr["title"]))
|
| 74 |
]
|
| 75 |
pr_info_list = [
|
| 76 |
+
f"https://github.com/huggingface/transformers/pull/{pr['url'].rstrip('/').split('/')[-1]}"
|
| 77 |
for pr in filtered_prs
|
| 78 |
]
|
| 79 |
return filenames, pr_info_list
|