From 43a7a4f65267813ab943f2e27e170788183bd753 Mon Sep 17 00:00:00 2001 From: Jhon <80256066+nakajima-john-shotaro@users.noreply.github.com> Date: Sun, 19 Sep 2021 12:36:26 +0900 Subject: [PATCH] [change] remove unneed code --- aicon/backend/models/big_sleep/big_sleep.py | 2 +- aicon/backend/models/deep_daze/deep_daze.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aicon/backend/models/big_sleep/big_sleep.py b/aicon/backend/models/big_sleep/big_sleep.py index 9d62f32..27b3cd6 100644 --- a/aicon/backend/models/big_sleep/big_sleep.py +++ b/aicon/backend/models/big_sleep/big_sleep.py @@ -297,7 +297,7 @@ def __init__( save_mp4_path: str = os.path.join(self.client_data[JSON_MP4_PATH], "timelapse.mp4") self.response_mp4_path: str = save_mp4_path.replace("frontend/", "") - self.writer: imageio.core.Format.Writer = get_writer(save_mp4_path, fps=20, quality=10) + self.writer: imageio.core.Format.Writer = get_writer(save_mp4_path, fps=20) text: str = f"{self.client_data[RECEIVED_DATA][JSON_TEXT]}|{self.client_data[RECEIVED_DATA][JSON_CARROT]}" stick: str = self.client_data[RECEIVED_DATA][JSON_STICK] diff --git a/aicon/backend/models/deep_daze/deep_daze.py b/aicon/backend/models/deep_daze/deep_daze.py index 487e848..8378559 100644 --- a/aicon/backend/models/deep_daze/deep_daze.py +++ b/aicon/backend/models/deep_daze/deep_daze.py @@ -265,7 +265,7 @@ def __init__( save_mp4_path: str = os.path.join(self.client_data[JSON_MP4_PATH], "timelapse.mp4") self.response_mp4_path: str = save_mp4_path.replace("frontend/", "") - self.writer: imageio.core.Format.Writer = get_writer(save_mp4_path, fps=20, quality=10) + self.writer: imageio.core.Format.Writer = get_writer(save_mp4_path, fps=20) text: str = self.client_data[RECEIVED_DATA][JSON_TEXT] seed: Optional[int] = self.client_data[RECEIVED_DATA][JSON_SEED]