Spaces:
Running on CPU Upgrade

osv5m commited on
Commit
4738657
1 Parent(s): 20dbc5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -396,8 +396,8 @@ class Engine(object):
396
  f"### <span style='color:blue'>GeoScore: %s, Distance: %s km <b style='color:blue'>(You)</b></span></br><span style='color:green'>GeoScore: %s, Distance: %s km <b style='color:green'>(Plonk-AI)</b></span>" % (
397
  round(score, 2),
398
  round(distance, 2),
399
- round(self.df['score'].iloc[self.index+1], 2),
400
- round(self.df['distance'].iloc[self.index+1], 2)
401
  )
402
  )
403
  # You: } \green{OSV-Bot: GeoScore: XX, distance: XX
 
396
  f"### <span style='color:blue'>GeoScore: %s, Distance: %s km <b style='color:blue'>(You)</b></span></br><span style='color:green'>GeoScore: %s, Distance: %s km <b style='color:green'>(Plonk-AI)</b></span>" % (
397
  round(score, 2),
398
  round(distance, 2),
399
+ round(self.df['score'].iloc[self.index], 2),
400
+ round(self.df['distance'].iloc[self.index], 2)
401
  )
402
  )
403
  # You: } \green{OSV-Bot: GeoScore: XX, distance: XX