Add clearer message when audio model loads on-demand

parent bae50d66
...@@ -3683,11 +3683,13 @@ def main(): ...@@ -3683,11 +3683,13 @@ def main():
except Exception as e: except Exception as e:
print(f"Warning: Could not pre-load audio model: {e}") print(f"Warning: Could not pre-load audio model: {e}")
print("Audio model will load on-demand when transcription is requested.")
import traceback import traceback
traceback.print_exc() traceback.print_exc()
except Exception as e: except Exception as e:
print(f"Warning: Could not pre-load audio model: {e}") print(f"Warning: Could not pre-load audio model: {e}")
print("Audio model will load on-demand when transcription is requested.")
# Set up TTS model if specified # Set up TTS model if specified
if args.tts_model: if args.tts_model:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment