Lemorra commited on
Commit
893f490
Β·
1 Parent(s): 4d4aec6

🎨 Added log to check if request received

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -17,6 +17,7 @@ def healthcheck():
17
 
18
  @app.post("/internvl_inference")
19
  async def inference(payload: PayloadModel, token: str = Depends(authenticate_token)):
 
20
  try:
21
  model_response = await internvl_inference(model, payload)
22
  model_response = "True" if model_response else "False"
 
17
 
18
  @app.post("/internvl_inference")
19
  async def inference(payload: PayloadModel, token: str = Depends(authenticate_token)):
20
+ print(f"*****Received request*****")
21
  try:
22
  model_response = await internvl_inference(model, payload)
23
  model_response = "True" if model_response else "False"