Spaces:
Runtime error
Runtime error
Commit
·
c8018ef
1
Parent(s):
da841f2
pricefix
Browse files
app.py
CHANGED
@@ -249,8 +249,12 @@ def autoPred(df):
|
|
249 |
print(df.columns)
|
250 |
res = autoModel.predict(df)
|
251 |
|
|
|
|
|
|
|
|
|
252 |
print('________________________________')
|
253 |
-
print(res)
|
254 |
print('________________________________')
|
255 |
|
256 |
return parsePrice(res)
|
|
|
249 |
print(df.columns)
|
250 |
res = autoModel.predict(df)
|
251 |
|
252 |
+
# Convert to a list
|
253 |
+
res = res.tolist()
|
254 |
+
|
255 |
+
|
256 |
print('________________________________')
|
257 |
+
print(res, type(res))
|
258 |
print('________________________________')
|
259 |
|
260 |
return parsePrice(res)
|