Spaces:
Runtime error
Runtime error
Commit
·
8d37dce
1
Parent(s):
d2a9c37
Update main.py
Browse files
main.py
CHANGED
@@ -91,10 +91,10 @@ async def predict(address_input: str):
|
|
91 |
# cols_other=[i for i in results.columns if i not in cols_order ]
|
92 |
# results=results[cols_order+cols_other].reset_index()
|
93 |
|
94 |
-
results['index']=results['index']+1
|
95 |
-
results.index=results.index+1
|
96 |
-
results=results.rename(columns={'index':'Input Position'})
|
97 |
-
prediction['yearBuilt']=results['yearBuilt'].fillna(0).astype(int).astype(str).replace('0','')
|
98 |
|
99 |
return results.to_json()
|
100 |
|
|
|
91 |
# cols_other=[i for i in results.columns if i not in cols_order ]
|
92 |
# results=results[cols_order+cols_other].reset_index()
|
93 |
|
94 |
+
# results['index']=results['index']+1
|
95 |
+
# results.index=results.index+1
|
96 |
+
# results=results.rename(columns={'index':'Input Position'})
|
97 |
+
# prediction['yearBuilt']=results['yearBuilt'].fillna(0).astype(int).astype(str).replace('0','')
|
98 |
|
99 |
return results.to_json()
|
100 |
|