randydev commited on
Commit
32c473b
1 Parent(s): ce19537

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -323,7 +323,7 @@ async def toanime(input):
323
  except Exception:
324
  return 'Identifikasi Gagal'
325
 
326
- @app.post("/akeno/toanime", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
327
  async def toanime_endpoint(file: UploadFile = File(...)):
328
  file_path = f"./uploads/{file.filename}"
329
  try:
 
323
  except Exception:
324
  return 'Identifikasi Gagal'
325
 
326
+ @app.get("/akeno/toanime", response_model=SuccessResponse, responses={422: {"model": SuccessResponse}})
327
  async def toanime_endpoint(file: UploadFile = File(...)):
328
  file_path = f"./uploads/{file.filename}"
329
  try: