Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ async def docs_redirect():
|
|
| 56 |
|
| 57 |
|
| 58 |
@app.post("/predict", tags=["Price Predictions πΆπΆπΆ"])
|
| 59 |
-
async def predict(predictionFeatures
|
| 60 |
# Read data
|
| 61 |
input_data = pd.DataFrame({
|
| 62 |
"model_key": [predictionFeatures.model_key],
|
|
|
|
| 56 |
|
| 57 |
|
| 58 |
@app.post("/predict", tags=["Price Predictions πΆπΆπΆ"])
|
| 59 |
+
async def predict(predictionFeatures: PredictionFeatures):
|
| 60 |
# Read data
|
| 61 |
input_data = pd.DataFrame({
|
| 62 |
"model_key": [predictionFeatures.model_key],
|