Dtimes commited on
Commit
56c73b8
·
1 Parent(s): 47347d0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -292,7 +292,7 @@ def process_submission(name, email, description, is_published, image):
292
  for s in submissions+[current_submission]
293
  ]
294
  rank = (
295
- sorted(distances, reverse=True).index(
296
  np.sqrt(float(QUALITY_POST_FUNC(quality))**2 + float(PERFORMANCE_POST_FUNC(performance))**2)
297
  ) + 1
298
  )
 
292
  for s in submissions+[current_submission]
293
  ]
294
  rank = (
295
+ sorted(distances, reverse=False).index(
296
  np.sqrt(float(QUALITY_POST_FUNC(quality))**2 + float(PERFORMANCE_POST_FUNC(performance))**2)
297
  ) + 1
298
  )