From ef75dba9957ba374b3b04027b02dedc774d25c06 Mon Sep 17 00:00:00 2001 From: mrq Date: Thu, 9 Mar 2023 02:43:05 +0000 Subject: [PATCH] I hate commas make tuples --- src/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils.py b/src/utils.py index d23dd73..28edc20 100755 --- a/src/utils.py +++ b/src/utils.py @@ -243,10 +243,10 @@ def generate(**kwargs): def get_info( voice, settings = None, latents = True ): info = {} info.update(parameters) - info['time'] = time.time()-full_start_time, + info['time'] = time.time()-full_start_time - info['datetime'] = datetime.now().isoformat(), - info['model'] = tts.autoregressive_model_path, + info['datetime'] = datetime.now().isoformat() + info['model'] = tts.autoregressive_model_path info['model_hash'] = tts.autoregressive_model_hash info['progress'] = None del info['progress']