Fix: Make args accessible in FastAPI transcription endpoint
The args variable was not accessible in the create_transcription function, causing a NameError when using --whisper-cpp CLI option. This fix adds global_args to store the parsed arguments for access in endpoint functions.
Showing
Please
register
or
sign in
to comment