Add message show if using faster-whisper or HF Transformers

This commit is contained in:
McCloudS authored and GitHub committed 2024-02-10 19:25:22 -07:00
1 parent 9249c2ecdb
commit b7aeef4773
1 file changed
+4
+4
View File
@@ -650,6 +650,10 @@ if __name__ == "__main__":
print(f"Transcriptions are limited to running {str(concurrent_transcriptions)} at a time")
print(f"Running {str(whisper_threads)} threads per transcription")
print(f"Using {transcribe_device} to encode")
if hf_transformers:
print(f"Using Hugging Face Transformers")
else:
print(f"Using faster-whisper")
if transcribe_folders:
transcribe_existing(transcribe_folders)
uvicorn.run("subgen:app", host="0.0.0.0", port=int(webhookport), reload=debug, use_colors=True)