use state
This commit is contained in:
parent
c3962ac6eb
commit
86f0efcb19
1 changed files with 2 additions and 2 deletions
|
@ -78,8 +78,8 @@ class Engine:
|
|||
return clips
|
||||
|
||||
def get_videos(self, user):
|
||||
channels = {'keywords': 7, 'screenings': 7, 'random': 2}
|
||||
sliders = {'dau': -1, 'physics': 0, 'sex': 1}
|
||||
channels = self.state['channels']
|
||||
sliders = self.state['keywords']
|
||||
# For each playlist, compute keyword score
|
||||
score = {}
|
||||
for playlist in self.playlists:
|
||||
|
|
Loading…
Reference in a new issue