AnishKumbhar commited on
Commit
c830390
1 Parent(s): bdf1d00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def preprocess_input(input: str):
58
 
59
  # Define an endpoint to make predictions
60
  @app.post("/predict")
61
- async def predict_endpoint(input:fastapi.UploadFile):
62
  """Make a prediction on an image uploaded by the user."""
63
 
64
  # Preprocess the input image
 
58
 
59
  # Define an endpoint to make predictions
60
  @app.post("/predict")
61
+ async def predict_endpoint(input:str):
62
  """Make a prediction on an image uploaded by the user."""
63
 
64
  # Preprocess the input image