HyraXuna commited on
Commit
f0e9da7
Β·
verified Β·
1 Parent(s): 384f135

final app upload

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,7 +22,7 @@ Submit the parameters of your car and a XGBoost Machine Learning model, trained
22
 
23
  tags_metadata = [
24
  {
25
- "name": "Price Predictions",
26
  "description": "Use this endpoint for getting predictions"
27
  }
28
  ]
@@ -55,7 +55,7 @@ async def docs_redirect():
55
  return RedirectResponse(url='/docs')
56
 
57
 
58
- @app.post("/predict", tags=["Machine Learning"])
59
  async def predict(predictionFeatures: PredictionFeatures):
60
  # Read data
61
  input_data = pd.DataFrame({
 
22
 
23
  tags_metadata = [
24
  {
25
+ "name": "Price Predictions πŸ’ΆπŸ’ΆπŸ’Ά",
26
  "description": "Use this endpoint for getting predictions"
27
  }
28
  ]
 
55
  return RedirectResponse(url='/docs')
56
 
57
 
58
+ @app.post("/predict", tags=["Price Predictions πŸ’ΆπŸ’ΆπŸ’Ά"])
59
  async def predict(predictionFeatures: PredictionFeatures):
60
  # Read data
61
  input_data = pd.DataFrame({