Spaces:
Runtime error
Runtime error
Commit
·
2653a4a
1
Parent(s):
1ee2207
app.py
CHANGED
@@ -224,8 +224,6 @@ def pluck_img(user_id, user_emb):
|
|
224 |
def background_next_image():
|
225 |
global prevs_df
|
226 |
global is_started
|
227 |
-
while not is_started:
|
228 |
-
time.sleep(.3)
|
229 |
|
230 |
# only let it get N (maybe 3) ahead of the user
|
231 |
#not_rated_rows = prevs_df[[i[1]['user:rating'] == {' ': ' '} for i in prevs_df.iterrows()]]
|
|
|
224 |
def background_next_image():
|
225 |
global prevs_df
|
226 |
global is_started
|
|
|
|
|
227 |
|
228 |
# only let it get N (maybe 3) ahead of the user
|
229 |
#not_rated_rows = prevs_df[[i[1]['user:rating'] == {' ': ' '} for i in prevs_df.iterrows()]]
|