Avinashnalla7 commited on
Commit
c02018d
·
1 Parent(s): 019cf9f

Fix: __future__ import at top

Browse files
Files changed (1) hide show
  1. backend/api.py +2 -1
backend/api.py CHANGED
@@ -1,5 +1,6 @@
1
  from __future__ import annotations
2
 
 
3
  import os
4
  SENDCFG_FAST_OK=(os.getenv("SENDCFG_FAST_OK","0")=="1")
5
 
@@ -241,4 +242,4 @@ async def notify_unknown(payload: Dict[str, Any]):
241
 
242
  @app.get("/", response_class=PlainTextResponse)
243
  def root():
244
- return "PDF Trainer API. Use /health"
 
1
  from __future__ import annotations
2
 
3
+
4
  import os
5
  SENDCFG_FAST_OK=(os.getenv("SENDCFG_FAST_OK","0")=="1")
6
 
 
242
 
243
  @app.get("/", response_class=PlainTextResponse)
244
  def root():
245
+ return "PDF Trainer API. Use /health"