I hate commas make tuples

This commit is contained in:
mrq 2023-03-09 02:43:05 +00:00
parent f795dd5c20
commit ef75dba995

View File

@ -243,10 +243,10 @@ def generate(**kwargs):
def get_info( voice, settings = None, latents = True ): def get_info( voice, settings = None, latents = True ):
info = {} info = {}
info.update(parameters) info.update(parameters)
info['time'] = time.time()-full_start_time, info['time'] = time.time()-full_start_time
info['datetime'] = datetime.now().isoformat(), info['datetime'] = datetime.now().isoformat()
info['model'] = tts.autoregressive_model_path, info['model'] = tts.autoregressive_model_path
info['model_hash'] = tts.autoregressive_model_hash info['model_hash'] = tts.autoregressive_model_hash
info['progress'] = None info['progress'] = None
del info['progress'] del info['progress']