Yassine Mhirsi commited on
Commit
058bfe4
·
1 Parent(s): b0001af

Add logging for API documentation URL in lifespan function of main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -51,6 +51,7 @@ async def lifespan(app: FastAPI):
51
  logger.error("⚠️ Stance detection endpoints will not work!")
52
 
53
  logger.info("✓ API startup complete")
 
54
 
55
  yield # Application runs here
56
 
 
51
  logger.error("⚠️ Stance detection endpoints will not work!")
52
 
53
  logger.info("✓ API startup complete")
54
+ logger.info("https://yassine-mhirsi-stance-detection-with-debertav3.hf.space/docs")
55
 
56
  yield # Application runs here
57