Spaces:
Runtime error
Runtime error
AnishKumbhar
commited on
Commit
•
c830390
1
Parent(s):
bdf1d00
Update app.py
Browse files
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:
|
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
|