added dropdown to select autoregressive model for TTS, fixed a bug where the settings saveer constantly fires I hate gradio so much why are dropdown.change broken to contiuously fire and send an empty array
parser.add_argument("--device-override",default=default_arguments['device-override'],help="A device string to override pass through Torch")
parser.add_argument("--device-override",default=default_arguments['device-override'],help="A device string to override pass through Torch")
parser.add_argument("--whisper-model",default=default_arguments['whisper-model'],help="Specifies which whisper model to use for transcription.")
parser.add_argument("--whisper-model",default=default_arguments['whisper-model'],help="Specifies which whisper model to use for transcription.")
parser.add_argument("--autoregressive-model",default=default_arguments['autoregressive-model'],help="Specifies which autoregressive model to use for sampling.")
parser.add_argument("--sample-batch-size",default=default_arguments['sample-batch-size'],type=int,help="Sets how many batches to use during the autoregressive samples pass")
parser.add_argument("--sample-batch-size",default=default_arguments['sample-batch-size'],type=int,help="Sets how many batches to use during the autoregressive samples pass")
parser.add_argument("--concurrency-count",type=int,default=default_arguments['concurrency-count'],help="How many Gradio events to process at once")
parser.add_argument("--concurrency-count",type=int,default=default_arguments['concurrency-count'],help="How many Gradio events to process at once")
parser.add_argument("--output-sample-rate",type=int,default=default_arguments['output-sample-rate'],help="Sample rate to resample the output to (from 24KHz)")
parser.add_argument("--output-sample-rate",type=int,default=default_arguments['output-sample-rate'],help="Sample rate to resample the output to (from 24KHz)")
@ -151,10 +153,8 @@ def generate(
globalargs
globalargs
globaltts
globaltts
try:
ifnottts:
tts
raiseException("TTS is uninitialized or still initializing...")