diff --git a/main.py b/main.py index 89e83c0..649b826 100644 --- a/main.py +++ b/main.py @@ -82,7 +82,7 @@ def rec_score(first_id: str, second_id: str): @app.get('/recs/{production_id}') -async def recs(production_id: str, count: int | None): +async def recs(production_id: str, count: int | None = 5): try: first = data.loc[production_id] except KeyError: