use stdout for printing transcription progress
diff --git a/whisper/transcribe.py b/whisper/transcribe.py
index d95d3336..62ef5fe5 100644
--- a/whisper/transcribe.py
+++ b/whisper/transcribe.py
@@ -169,7 +169,8 @@ def add_segment(
             line = f"[{format_timestamp(start)} --> {format_timestamp(end)}] {text}\n"
             # compared to just `print(line)`, this replaces any character not representable using
             # the system default encoding with an '?', avoiding UnicodeEncodeError.
-            sys.stderr.buffer.write(line.encode(sys.getdefaultencoding(), errors="replace"))
+            sys.stdout.buffer.write(line.encode(sys.getdefaultencoding(), errors="replace"))
+            sys.stdout.flush()
 
     # show the progress bar when verbose is False (otherwise the transcribed text will be printed)
     num_frames = mel.shape[-1]
