Nathanotal commited on
Commit
20c271f
·
1 Parent(s): c8018ef
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -200,6 +200,8 @@ def parsePrice(price):
200
  }
201
  MIN = featureToMinMaxPrice['price'][0]
202
  MAX = featureToMinMaxPrice['price'][1]
 
 
203
  price = price * (MAX - MIN) + MIN
204
  return f'{addDotsToPrice(int(price))} SEK'
205
 
 
200
  }
201
  MIN = featureToMinMaxPrice['price'][0]
202
  MAX = featureToMinMaxPrice['price'][1]
203
+
204
+ price = float(price)
205
  price = price * (MAX - MIN) + MIN
206
  return f'{addDotsToPrice(int(price))} SEK'
207