Skip to content

Commit

Permalink
[change] remove unneed code
Browse files Browse the repository at this point in the history
  • Loading branch information
nakajima-john-shotaro committed Sep 19, 2021
1 parent b5a2cca commit 43a7a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aicon/backend/models/big_sleep/big_sleep.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion aicon/backend/models/deep_daze/deep_daze.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 43a7a4f

Please sign in to comment.