Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,6 +16,9 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
| 16 |
# 🛠️ Custom tool
|
| 17 |
@tool
|
| 18 |
def get_hugging_face_top_daily_paper() -> str:
|
|
|
|
|
|
|
|
|
|
| 19 |
try:
|
| 20 |
url = "https://huggingface.co/papers"
|
| 21 |
response = requests.get(url)
|
|
|
|
| 16 |
# 🛠️ Custom tool
|
| 17 |
@tool
|
| 18 |
def get_hugging_face_top_daily_paper() -> str:
|
| 19 |
+
"""
|
| 20 |
+
Returns the title of the most upvoted paper on Hugging Face daily papers.
|
| 21 |
+
"""
|
| 22 |
try:
|
| 23 |
url = "https://huggingface.co/papers"
|
| 24 |
response = requests.get(url)
|