AliJabbarpour commited on
Commit
5e62139
Β·
verified Β·
1 Parent(s): 4e0a9f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -19,6 +19,11 @@ print("Loading Whisper model...")
19
  model = WhisperModel("large-v3", device="cpu", compute_type="int8")
20
  print("Whisper model ready!")
21
 
 
 
 
 
 
22
  # ─── Health ───────────────────────────────────────────────────────────────────
23
  @app.get("/health")
24
  async def health():
 
19
  model = WhisperModel("large-v3", device="cpu", compute_type="int8")
20
  print("Whisper model ready!")
21
 
22
+ # ─── Root ─────────────────────────────────────────────────────────────────────
23
+ @app.get("/")
24
+ async def root():
25
+ return {"message": "SubFlow backend is online and ready!"}
26
+
27
  # ─── Health ───────────────────────────────────────────────────────────────────
28
  @app.get("/health")
29
  async def health():