davanstrien HF Staff commited on
Commit
8b4727e
·
1 Parent(s): 2fd55a0

clarity fix

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,11 +65,11 @@ def rank_space_and_org(space_or_org_id, filter_zero):
65
  if len(split) == 2:
66
  space_rank = relative_rank_for_space(space_or_org_id, filter_zero=filter_zero)
67
  return f"""Space {space_or_org_id} is ranked {space_rank['rank']:.2f}%
68
- with {space_rank['num_higher']:,} Spaces above and {space_rank['num_lower']:,} Spaces below in the raking."""
69
  if len(split) == 1:
70
  org_rank = relative_rank_for_org(space_or_org_id, filter_zero=filter_zero)
71
  return f"""Organization or user {space_or_org_id} is ranked {org_rank['rank']:.2f}%
72
- with {org_rank['num_higher']:,} orgs/users above and {org_rank['num_lower']:,} orgs/users below in the raking."""
73
 
74
 
75
  with gr.Blocks() as demo:
 
65
  if len(split) == 2:
66
  space_rank = relative_rank_for_space(space_or_org_id, filter_zero=filter_zero)
67
  return f"""Space {space_or_org_id} is ranked {space_rank['rank']:.2f}%
68
+ with {space_rank['num_higher']:,} Spaces above and {space_rank['num_lower']:,} Spaces below in the raking of Space likes"""
69
  if len(split) == 1:
70
  org_rank = relative_rank_for_org(space_or_org_id, filter_zero=filter_zero)
71
  return f"""Organization or user {space_or_org_id} is ranked {org_rank['rank']:.2f}%
72
+ with {org_rank['num_higher']:,} orgs/users above and {org_rank['num_lower']:,} orgs/users below in the raking of Space likes"""
73
 
74
 
75
  with gr.Blocks() as demo: