Update app.py
Browse files
app.py
CHANGED
|
@@ -19,11 +19,6 @@ print("Loading Whisper model...")
|
|
| 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():
|
|
|
|
| 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():
|