Spaces:
Runtime error
Runtime error
paper url in show notes
Browse files- update_rss.py +1 -1
update_rss.py
CHANGED
@@ -69,7 +69,7 @@ def update_rss(subject, audio_url, audio_length, paper_id=None, rss_path="rss.xm
|
|
69 |
title, description = generate_headline_and_description(subject)
|
70 |
if paper_id:
|
71 |
paper_url = f"https://huggingface.co/papers/{paper_id}"
|
72 |
-
description += f
|
73 |
|
74 |
tree = ET.parse(rss_path)
|
75 |
root = tree.getroot()
|
|
|
69 |
title, description = generate_headline_and_description(subject)
|
70 |
if paper_id:
|
71 |
paper_url = f"https://huggingface.co/papers/{paper_id}"
|
72 |
+
description += f'\n\n<a href="{paper_url}">[Read the paper on Hugging Face]</a>'
|
73 |
|
74 |
tree = ET.parse(rss_path)
|
75 |
root = tree.getroot()
|