Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ronylpatil committed Mar 23, 2024
1 parent 34de238 commit 2e4f82f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions prod/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Define request body model using Pydantic
class WineqIp(BaseModel) :
fixed_acidity : float = Field(..., ge = 4.1, le = 16.4)
volatile_acidity : float = Field(..., ge = 0.5, le = 1.98)
volatile_acidity : float = Field(..., ge = 0.5, le = 1.98)
citric_acid : float = Field(..., ge = 0, le = 1.5)
residual_sugar : float = Field(..., ge = 0.5, le = 16)
chlorides : float = Field(..., ge = 0.008, le = 0.7)
Expand Down Expand Up @@ -57,7 +57,6 @@ def feat_gen(user_input: dict) -> dict :

return user_input


@app.get('/')
def root() :
return {'api status': 'up & running'}
Expand Down

0 comments on commit 2e4f82f

Please sign in to comment.