geetu040's picture
Added 2022 Movie Recommender
4f31510
raw
history blame
290 Bytes
from src.base.recommender import recommender
from src.base.recommender import Schema
import json
data_path = "./src/movie_2022_rec/data.json"
with open(data_path, 'rb') as f:
data = json.load(f)
# Request Handler
def movie_2022_rec(req):
# Sending to Base
return recommender(req, data)