Spaces:
Runtime error
Runtime error
Nathanotal
commited on
Commit
·
20c271f
1
Parent(s):
c8018ef
pricefix
Browse files
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 |
|