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"###
|
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'><bf>You</bf>GeoScore: %s, Distance: %s km</span></br><span style='color:green'><bf>Plonk-AI</bf>GeoScore: %s, Distance: %s km</span>" % (
|
397 |
round(score, 2),
|
398 |
round(distance, 2),
|
399 |
round(self.df['score'].iloc[self.index+1], 2),
|