Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -101,7 +101,7 @@ def search_semantic_scholar(query: str,
|
|
| 101 |
"query": query,
|
| 102 |
"minCitationCount": str(minCitationCount),
|
| 103 |
"fields": "title,abstract,year,url", # Always return these fields (paperId is always returned)
|
| 104 |
-
"limit":
|
| 105 |
}
|
| 106 |
if year:
|
| 107 |
params["year"] = year
|
|
|
|
| 101 |
"query": query,
|
| 102 |
"minCitationCount": str(minCitationCount),
|
| 103 |
"fields": "title,abstract,year,url", # Always return these fields (paperId is always returned)
|
| 104 |
+
"limit": 5
|
| 105 |
}
|
| 106 |
if year:
|
| 107 |
params["year"] = year
|