Spaces:
Runtime error
Runtime error
Update routes/recommend.py
Browse files- routes/recommend.py +1 -1
routes/recommend.py
CHANGED
|
@@ -306,7 +306,7 @@ def recommend_book():
|
|
| 306 |
"recommendations": normalized,
|
| 307 |
"count": len(normalized),
|
| 308 |
"type": rec_type,
|
| 309 |
-
"genres":
|
| 310 |
}), 200
|
| 311 |
|
| 312 |
except requests.exceptions.Timeout:
|
|
|
|
| 306 |
"recommendations": normalized,
|
| 307 |
"count": len(normalized),
|
| 308 |
"type": rec_type,
|
| 309 |
+
"genres": genre
|
| 310 |
}), 200
|
| 311 |
|
| 312 |
except requests.exceptions.Timeout:
|