Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ def get_hugging_face_top_daily_paper() -> str:
|
|
| 49 |
continue
|
| 50 |
|
| 51 |
return top_paper
|
| 52 |
-
|
| 53 |
print(f"Error occurred while fetching the HTML: {e}")
|
| 54 |
return None
|
| 55 |
|
|
|
|
| 49 |
continue
|
| 50 |
|
| 51 |
return top_paper
|
| 52 |
+
except requests.exceptions.RequestException as e:
|
| 53 |
print(f"Error occurred while fetching the HTML: {e}")
|
| 54 |
return None
|
| 55 |
|