Yassine Mhirsi
commited on
Commit
·
058bfe4
1
Parent(s):
b0001af
Add logging for API documentation URL in lifespan function of main.py
Browse files
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 |
|