Amir8212 commited on
Commit
7e72c1b
·
1 Parent(s): c205daf

chore: update route name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -337,7 +337,7 @@ async def generate_3d(image: UploadFile = File(...)):
337
  print("ERROR IN GENERATING 3D FILE : " , e)
338
  raise HTTPException(status_code=500, detail=str(e))
339
 
340
- @app.post("/remove-background-image")
341
  async def remove_background_image(image: UploadFile = File(...)):
342
  if not image:
343
  raise HTTPException(status_code=400, detail="No image provided")
 
337
  print("ERROR IN GENERATING 3D FILE : " , e)
338
  raise HTTPException(status_code=500, detail=str(e))
339
 
340
+ @app.post("/remove-image-background")
341
  async def remove_background_image(image: UploadFile = File(...)):
342
  if not image:
343
  raise HTTPException(status_code=400, detail="No image provided")