Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,11 +23,6 @@ with open("catboost_pipeline_4.job", "rb") as f:
|
|
23 |
pipe = joblib.load(f)
|
24 |
print(pipe)
|
25 |
|
26 |
-
@app.get("/")
|
27 |
-
# instantiating fastAPI object
|
28 |
-
app = FastAPI( title = "Machine Learning Classification API for predicting \
|
29 |
-
Income limit as Above Limit / Below Limit - upload a file")
|
30 |
-
|
31 |
@app.get("/")
|
32 |
async def root():
|
33 |
return {
|
|
|
23 |
pipe = joblib.load(f)
|
24 |
print(pipe)
|
25 |
|
|
|
|
|
|
|
|
|
|
|
26 |
@app.get("/")
|
27 |
async def root():
|
28 |
return {
|