Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,8 @@ app.add_middleware(
|
|
| 14 |
allow_headers=["*"],
|
| 15 |
)
|
| 16 |
|
| 17 |
-
|
|
|
|
| 18 |
model = WhisperModel("large-v3", device="cpu", compute_type="int8")
|
| 19 |
print("Whisper model ready!")
|
| 20 |
|
|
|
|
| 14 |
allow_headers=["*"],
|
| 15 |
)
|
| 16 |
|
| 17 |
+
import sys
|
| 18 |
+
print("Loading Whisper model...", flush=True)
|
| 19 |
model = WhisperModel("large-v3", device="cpu", compute_type="int8")
|
| 20 |
print("Whisper model ready!")
|
| 21 |
|