Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -393,7 +393,7 @@ class Engine(object):
|
|
393 |
|
394 |
df = pd.DataFrame([self.get_model_average(who) for who in ['user', 'best', 'base']], columns=['who', 'GeoScore', 'Distance', 'Accuracy (country)']).round(2)
|
395 |
result_text = (
|
396 |
-
f"### <span style='color:blue'>GeoScore: %s, Distance: %s km <b>(You)</b></span></br><span style='color:green'>GeoScore: %s, Distance: %s km <
|
397 |
round(score, 2),
|
398 |
round(distance, 2),
|
399 |
round(self.df['score'].iloc[self.index+1], 2),
|
|
|
393 |
|
394 |
df = pd.DataFrame([self.get_model_average(who) for who in ['user', 'best', 'base']], columns=['who', 'GeoScore', 'Distance', 'Accuracy (country)']).round(2)
|
395 |
result_text = (
|
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),
|