Spaces:
Sleeping
Sleeping
π¨ Added log to check if request received
Browse files
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"
|