Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -150,7 +150,7 @@ async def predict(predictionFeatures: RentalFeatures):
|
|
| 150 |
# predictionFeatures.winter_tires or 0,
|
| 151 |
# ]
|
| 152 |
try:
|
| 153 |
-
car_caracteristic = pd.DataFrame(
|
| 154 |
#car_caracteristic = pd.DataFrame({"Car": pf})
|
| 155 |
# Log model from mlflow
|
| 156 |
|
|
|
|
| 150 |
# predictionFeatures.winter_tires or 0,
|
| 151 |
# ]
|
| 152 |
try:
|
| 153 |
+
car_caracteristic = pd.DataFrame(predictionFeatures.model_dump())
|
| 154 |
#car_caracteristic = pd.DataFrame({"Car": pf})
|
| 155 |
# Log model from mlflow
|
| 156 |
|