HyraXuna commited on
Commit
aafd92e
Β·
verified Β·
1 Parent(s): c2041a0

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = List[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],