working_frontend
This commit is contained in:
parent
d9970030cb
commit
b6a8cb725e
2
main.py
2
main.py
|
@ -96,7 +96,7 @@ def predict():
|
|||
user.update_interests(user_interests)
|
||||
new_user_interests = user.get_user_interests()
|
||||
new_vre_material = pd.concat([vre.db['paper_db'], vre.db['dataset_db']]).reset_index(drop=True)
|
||||
if (new_user_interests() != old_user_interests or old_vre_material != new_vre_material):
|
||||
if (new_user_interests != old_user_interests or len(old_vre_material) != len(new_vre_material)):
|
||||
rec.generate_recommendations(new_user_interests, new_vre_material)
|
||||
dm.update(state)
|
||||
action = dm.next_action()
|
||||
|
|
Loading…
Reference in New Issue