diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index c5df29a1..4a58d748 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,7 +1,9 @@
# Contributing
-As a part of the Deforum team I (kabachuha) want this script extension to remain a part of the Deforum project.
+## Licensing notice
-Thus, if you want to submit feature request or bugfix, unless it only relates to automatic1111's porting issues, consider making a PR first to the parent repository notebook https://github.com/deforum/stable-diffusion.
+By contributing to this project you agree that your work will be licensed under the terms of the GNU Affero General Public License version 3.
-Also, you may want to inforum the dev team about your work via Discord https://discord.gg/deforum to ensure that no one else is working on the same stuff.
+## Contact us
+
+Also, you may want to inform the dev team about your work via Discord https://discord.gg/deforum to ensure that no one else is working on the same stuff.
diff --git a/LICENSE b/LICENSE
index 40b95b3f..62547546 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
Deforum extension:
-Copyright (c) 2023 Artem Khrapov (kabachuha) and contributors listed in AUTHORS.md
+Copyright (c) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
# GNU AFFERO GENERAL PUBLIC LICENSE
diff --git a/install.py b/install.py
index 53b84209..3f41b1e4 100644
--- a/install.py
+++ b/install.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import launch
import os
diff --git a/javascript/deforum-hints.js b/javascript/deforum-hints.js
index 9c6da700..6afe15fb 100644
--- a/javascript/deforum-hints.js
+++ b/javascript/deforum-hints.js
@@ -1,3 +1,22 @@
+/*
+ * 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+ * Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see .
+ *
+ * Contact the author (Artem Khrapov): https://github.com/kabachuha/
+ */
+
// mouseover tooltips for various UI elements
deforum_titles = {
diff --git a/javascript/deforum.js b/javascript/deforum.js
index 8ede756b..48479bac 100644
--- a/javascript/deforum.js
+++ b/javascript/deforum.js
@@ -1,3 +1,22 @@
+/*
+ * 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+ * Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see .
+ *
+ * Contact the author (Artem Khrapov): https://github.com/kabachuha/
+ */
+
function submit_deforum(){
rememberGallerySelection('deforum_gallery')
showSubmitButtons('deforum', false)
diff --git a/scripts/deforum.py b/scripts/deforum.py
index 9bc2e92b..fb33a016 100644
--- a/scripts/deforum.py
+++ b/scripts/deforum.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
from modules import script_callbacks
from scripts.deforum_extend_paths import deforum_sys_extend
@@ -9,4 +26,4 @@ def init_deforum():
from deforum_helpers.ui_settings import on_ui_settings
script_callbacks.on_ui_settings(on_ui_settings)
-init_deforum()
\ No newline at end of file
+init_deforum()
diff --git a/scripts/deforum_extend_paths.py b/scripts/deforum_extend_paths.py
index e37905b6..131e761e 100644
--- a/scripts/deforum_extend_paths.py
+++ b/scripts/deforum_extend_paths.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
import sys
diff --git a/scripts/deforum_helpers/RAFT.py b/scripts/deforum_helpers/RAFT.py
index 4aa30e21..38cf7b3b 100644
--- a/scripts/deforum_helpers/RAFT.py
+++ b/scripts/deforum_helpers/RAFT.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import torch
import numpy as np
import torchvision.transforms.functional as F
diff --git a/scripts/deforum_helpers/animation.py b/scripts/deforum_helpers/animation.py
index 89f53599..921093aa 100644
--- a/scripts/deforum_helpers/animation.py
+++ b/scripts/deforum_helpers/animation.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import numpy as np
import cv2
import py3d_tools as p3d # this is actually a file in our /src folder!
diff --git a/scripts/deforum_helpers/animation_key_frames.py b/scripts/deforum_helpers/animation_key_frames.py
index f51cfd75..a9c20bc6 100644
--- a/scripts/deforum_helpers/animation_key_frames.py
+++ b/scripts/deforum_helpers/animation_key_frames.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import re
import numpy as np
import numexpr
diff --git a/scripts/deforum_helpers/args.py b/scripts/deforum_helpers/args.py
index 09e49cb4..8f7bc79d 100644
--- a/scripts/deforum_helpers/args.py
+++ b/scripts/deforum_helpers/args.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import json
import os
import tempfile
diff --git a/scripts/deforum_helpers/auto_navigation.py b/scripts/deforum_helpers/auto_navigation.py
index fba91cc6..3c55e66b 100644
--- a/scripts/deforum_helpers/auto_navigation.py
+++ b/scripts/deforum_helpers/auto_navigation.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import numpy as np
import torch
diff --git a/scripts/deforum_helpers/colors.py b/scripts/deforum_helpers/colors.py
index b408b156..1a6d098d 100644
--- a/scripts/deforum_helpers/colors.py
+++ b/scripts/deforum_helpers/colors.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import cv2
import pkg_resources
from skimage.exposure import match_histograms
diff --git a/scripts/deforum_helpers/composable_masks.py b/scripts/deforum_helpers/composable_masks.py
index 060d6300..8b4b64e7 100644
--- a/scripts/deforum_helpers/composable_masks.py
+++ b/scripts/deforum_helpers/composable_masks.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
# At the moment there are three types of masks: mask from variable, file mask and word mask
# Variable masks include video_mask (which can be set to auto-generated human masks) and everywhere
# They are put in {}-brackets
diff --git a/scripts/deforum_helpers/consistency_check.py b/scripts/deforum_helpers/consistency_check.py
index 669e8c65..658473c8 100644
--- a/scripts/deforum_helpers/consistency_check.py
+++ b/scripts/deforum_helpers/consistency_check.py
@@ -1,6 +1,25 @@
-'''
-Taken from https://github.com/Sxela/flow_tools/blob/main
-'''
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
+
+# The code below is taken from https://github.com/Sxela/flow_tools/blob/main under GPL-3.0 license
+# and modified to fit Deforum's purpose
+
+
# import argparse
# import PIL.Image
import numpy as np
diff --git a/scripts/deforum_helpers/defaults.py b/scripts/deforum_helpers/defaults.py
index 66ff3034..fe732036 100644
--- a/scripts/deforum_helpers/defaults.py
+++ b/scripts/deforum_helpers/defaults.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
def get_samplers_list():
return {
'euler a': 'Euler a',
diff --git a/scripts/deforum_helpers/deforum_controlnet.py b/scripts/deforum_helpers/deforum_controlnet.py
index 227fe225..c5dbd584 100644
--- a/scripts/deforum_helpers/deforum_controlnet.py
+++ b/scripts/deforum_helpers/deforum_controlnet.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
# This helper script is responsible for ControlNet/Deforum integration
# https://github.com/Mikubill/sd-webui-controlnet — controlnet repo
diff --git a/scripts/deforum_helpers/deforum_controlnet_gradio.py b/scripts/deforum_helpers/deforum_controlnet_gradio.py
index 888f42dd..21e9f8d8 100644
--- a/scripts/deforum_helpers/deforum_controlnet_gradio.py
+++ b/scripts/deforum_helpers/deforum_controlnet_gradio.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import gradio as gr
# print (cnet_1.get_modules())
diff --git a/scripts/deforum_helpers/deforum_tqdm.py b/scripts/deforum_helpers/deforum_tqdm.py
index a6aacc1c..ff61cfd2 100644
--- a/scripts/deforum_helpers/deforum_tqdm.py
+++ b/scripts/deforum_helpers/deforum_tqdm.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
from math import ceil
import tqdm
diff --git a/scripts/deforum_helpers/deprecation_utils.py b/scripts/deforum_helpers/deprecation_utils.py
index c66a3917..a37c676f 100644
--- a/scripts/deforum_helpers/deprecation_utils.py
+++ b/scripts/deforum_helpers/deprecation_utils.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
# This file is used to map deprecated setting names in a dictionary
# and print a message containing the old and the new names
diff --git a/scripts/deforum_helpers/depth.py b/scripts/deforum_helpers/depth.py
index 0ddeb74d..b67f7c39 100644
--- a/scripts/deforum_helpers/depth.py
+++ b/scripts/deforum_helpers/depth.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import gc
import cv2
import numpy as np
diff --git a/scripts/deforum_helpers/depth_adabins.py b/scripts/deforum_helpers/depth_adabins.py
index 9de4bd6b..e1102108 100644
--- a/scripts/deforum_helpers/depth_adabins.py
+++ b/scripts/deforum_helpers/depth_adabins.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import torch
import numpy as np
from PIL import Image
diff --git a/scripts/deforum_helpers/depth_leres.py b/scripts/deforum_helpers/depth_leres.py
index a2045056..4c3e2794 100644
--- a/scripts/deforum_helpers/depth_leres.py
+++ b/scripts/deforum_helpers/depth_leres.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import torch
import cv2
import os
diff --git a/scripts/deforum_helpers/depth_midas.py b/scripts/deforum_helpers/depth_midas.py
index c5d8fc0d..db9f7955 100644
--- a/scripts/deforum_helpers/depth_midas.py
+++ b/scripts/deforum_helpers/depth_midas.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
import cv2
import torch
diff --git a/scripts/deforum_helpers/depth_zoe.py b/scripts/deforum_helpers/depth_zoe.py
index 402251c2..c59bc395 100644
--- a/scripts/deforum_helpers/depth_zoe.py
+++ b/scripts/deforum_helpers/depth_zoe.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import torch
from zoedepth.models.builder import build_model
from zoedepth.utils.config import get_config
diff --git a/scripts/deforum_helpers/frame_interpolation.py b/scripts/deforum_helpers/frame_interpolation.py
index 40cfb1b8..d4690a53 100644
--- a/scripts/deforum_helpers/frame_interpolation.py
+++ b/scripts/deforum_helpers/frame_interpolation.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
from pathlib import Path
from rife.inference_video import run_rife_new_video_infer
diff --git a/scripts/deforum_helpers/general_utils.py b/scripts/deforum_helpers/general_utils.py
index 31357294..3f4ab0e6 100644
--- a/scripts/deforum_helpers/general_utils.py
+++ b/scripts/deforum_helpers/general_utils.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
import shutil
import hashlib
diff --git a/scripts/deforum_helpers/generate.py b/scripts/deforum_helpers/generate.py
index aa942962..90f671fd 100644
--- a/scripts/deforum_helpers/generate.py
+++ b/scripts/deforum_helpers/generate.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
from PIL import Image
import math
import json
diff --git a/scripts/deforum_helpers/gradio_funcs.py b/scripts/deforum_helpers/gradio_funcs.py
index 87ac2d1a..d0136627 100644
--- a/scripts/deforum_helpers/gradio_funcs.py
+++ b/scripts/deforum_helpers/gradio_funcs.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import gradio as gr
import modules.paths as ph
from .general_utils import get_os
diff --git a/scripts/deforum_helpers/human_masking.py b/scripts/deforum_helpers/human_masking.py
index 0e79a4de..28e439a4 100644
--- a/scripts/deforum_helpers/human_masking.py
+++ b/scripts/deforum_helpers/human_masking.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os, cv2
import torch
from pathlib import Path
diff --git a/scripts/deforum_helpers/hybrid_video.py b/scripts/deforum_helpers/hybrid_video.py
index 0231c8bf..525b4a5b 100644
--- a/scripts/deforum_helpers/hybrid_video.py
+++ b/scripts/deforum_helpers/hybrid_video.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
import pathlib
import random
diff --git a/scripts/deforum_helpers/image_sharpening.py b/scripts/deforum_helpers/image_sharpening.py
index 5220aa88..e3b8d678 100644
--- a/scripts/deforum_helpers/image_sharpening.py
+++ b/scripts/deforum_helpers/image_sharpening.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import cv2
import numpy as np
diff --git a/scripts/deforum_helpers/load_images.py b/scripts/deforum_helpers/load_images.py
index 5be7ab79..3f49f918 100644
--- a/scripts/deforum_helpers/load_images.py
+++ b/scripts/deforum_helpers/load_images.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import requests
import os
from PIL import Image
diff --git a/scripts/deforum_helpers/masks.py b/scripts/deforum_helpers/masks.py
index e4d819e1..02433e2f 100644
--- a/scripts/deforum_helpers/masks.py
+++ b/scripts/deforum_helpers/masks.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
import cv2
import gc
diff --git a/scripts/deforum_helpers/noise.py b/scripts/deforum_helpers/noise.py
index a15650bc..f25c90e1 100644
--- a/scripts/deforum_helpers/noise.py
+++ b/scripts/deforum_helpers/noise.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import torch
from torch.nn.functional import interpolate
import numpy as np
diff --git a/scripts/deforum_helpers/parseq_adapter.py b/scripts/deforum_helpers/parseq_adapter.py
index 70431db8..688fe120 100644
--- a/scripts/deforum_helpers/parseq_adapter.py
+++ b/scripts/deforum_helpers/parseq_adapter.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import copy
import json
import logging
diff --git a/scripts/deforum_helpers/parseq_adapter_test.py b/scripts/deforum_helpers/parseq_adapter_test.py
index 5576ada5..8d7927d8 100644
--- a/scripts/deforum_helpers/parseq_adapter_test.py
+++ b/scripts/deforum_helpers/parseq_adapter_test.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
##
# From /scripts directory, run like: python -m unittest deforum_helpers.parseq_adapter_test
##
diff --git a/scripts/deforum_helpers/prompt.py b/scripts/deforum_helpers/prompt.py
index c910e686..36bbbd77 100644
--- a/scripts/deforum_helpers/prompt.py
+++ b/scripts/deforum_helpers/prompt.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import re
import numexpr
diff --git a/scripts/deforum_helpers/render.py b/scripts/deforum_helpers/render.py
index 53df517d..41670641 100644
--- a/scripts/deforum_helpers/render.py
+++ b/scripts/deforum_helpers/render.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
import pandas as pd
import cv2
diff --git a/scripts/deforum_helpers/render_modes.py b/scripts/deforum_helpers/render_modes.py
index c6e7c30c..638d9b74 100644
--- a/scripts/deforum_helpers/render_modes.py
+++ b/scripts/deforum_helpers/render_modes.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
import time
import pathlib
diff --git a/scripts/deforum_helpers/resume.py b/scripts/deforum_helpers/resume.py
index e76627c0..ff1b3153 100644
--- a/scripts/deforum_helpers/resume.py
+++ b/scripts/deforum_helpers/resume.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
import cv2
from modules.shared import opts
diff --git a/scripts/deforum_helpers/rich.py b/scripts/deforum_helpers/rich.py
index 745d8c8b..02e506e5 100644
--- a/scripts/deforum_helpers/rich.py
+++ b/scripts/deforum_helpers/rich.py
@@ -1,2 +1,19 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
from rich.console import Console
console = Console()
\ No newline at end of file
diff --git a/scripts/deforum_helpers/run_deforum.py b/scripts/deforum_helpers/run_deforum.py
index ad03e372..1d74da61 100644
--- a/scripts/deforum_helpers/run_deforum.py
+++ b/scripts/deforum_helpers/run_deforum.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
import shutil
import traceback
diff --git a/scripts/deforum_helpers/save_images.py b/scripts/deforum_helpers/save_images.py
index 94dd7d28..9fa51b68 100644
--- a/scripts/deforum_helpers/save_images.py
+++ b/scripts/deforum_helpers/save_images.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
import cv2
import gc
diff --git a/scripts/deforum_helpers/seed.py b/scripts/deforum_helpers/seed.py
index 443a68ad..e751c0ab 100644
--- a/scripts/deforum_helpers/seed.py
+++ b/scripts/deforum_helpers/seed.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import random
def next_seed(args):
diff --git a/scripts/deforum_helpers/settings.py b/scripts/deforum_helpers/settings.py
index 9c3f914d..c7bd5841 100644
--- a/scripts/deforum_helpers/settings.py
+++ b/scripts/deforum_helpers/settings.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
import json
import modules.shared as sh
diff --git a/scripts/deforum_helpers/subtitle_handler.py b/scripts/deforum_helpers/subtitle_handler.py
index a6c4f94e..c1261a8b 100644
--- a/scripts/deforum_helpers/subtitle_handler.py
+++ b/scripts/deforum_helpers/subtitle_handler.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
from decimal import Decimal, getcontext
from modules.shared import opts
diff --git a/scripts/deforum_helpers/ui_left.py b/scripts/deforum_helpers/ui_left.py
index df19e6ab..51336fe0 100644
--- a/scripts/deforum_helpers/ui_left.py
+++ b/scripts/deforum_helpers/ui_left.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
from types import SimpleNamespace
from modules.ui_components import FormRow
import modules.shared as sh
diff --git a/scripts/deforum_helpers/ui_right.py b/scripts/deforum_helpers/ui_right.py
index 543cae64..065df9dc 100644
--- a/scripts/deforum_helpers/ui_right.py
+++ b/scripts/deforum_helpers/ui_right.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
from .args import DeforumOutputArgs, get_component_names, get_settings_component_names
from modules.shared import opts, state
from modules.ui import create_output_panel, wrap_gradio_call
diff --git a/scripts/deforum_helpers/ui_settings.py b/scripts/deforum_helpers/ui_settings.py
index 30dd4a40..f6db857b 100644
--- a/scripts/deforum_helpers/ui_settings.py
+++ b/scripts/deforum_helpers/ui_settings.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import gradio as gr
from modules import ui_components
from modules.shared import opts, cmd_opts, OptionInfo
diff --git a/scripts/deforum_helpers/upscaling.py b/scripts/deforum_helpers/upscaling.py
index 315cdac1..22f0edfc 100644
--- a/scripts/deforum_helpers/upscaling.py
+++ b/scripts/deforum_helpers/upscaling.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
from pathlib import Path
import shutil
diff --git a/scripts/deforum_helpers/vid2depth.py b/scripts/deforum_helpers/vid2depth.py
index 36e4d1b6..7e01d299 100644
--- a/scripts/deforum_helpers/vid2depth.py
+++ b/scripts/deforum_helpers/vid2depth.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
# TODO: deduplicate upscaling/interp/vid2depth code
import os, gc
diff --git a/scripts/deforum_helpers/video_audio_utilities.py b/scripts/deforum_helpers/video_audio_utilities.py
index 045df089..1cfea005 100644
--- a/scripts/deforum_helpers/video_audio_utilities.py
+++ b/scripts/deforum_helpers/video_audio_utilities.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
import cv2
import shutil
diff --git a/scripts/deforum_helpers/webui_sd_pipeline.py b/scripts/deforum_helpers/webui_sd_pipeline.py
index 73d998f2..f750552a 100644
--- a/scripts/deforum_helpers/webui_sd_pipeline.py
+++ b/scripts/deforum_helpers/webui_sd_pipeline.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
from modules.processing import StableDiffusionProcessingImg2Img
from modules.shared import opts, sd_model
import os
diff --git a/scripts/deforum_helpers/word_masking.py b/scripts/deforum_helpers/word_masking.py
index f9cd31de..5f9580a1 100644
--- a/scripts/deforum_helpers/word_masking.py
+++ b/scripts/deforum_helpers/word_masking.py
@@ -1,3 +1,20 @@
+# 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+# Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, version 3 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+
+# Contact the author (Artem Khrapov): https://github.com/kabachuha/
+
import os
import torch
from PIL import Image
diff --git a/style.css b/style.css
index dd9a98bd..4a0d38b5 100644
--- a/style.css
+++ b/style.css
@@ -1,3 +1,22 @@
+/*
+ * 'Deforum' plugin for Automatic1111's Stable Diffusion WebUI.
+ * Copyright (C) 2023 Artem Khrapov (kabachuha) and Deforum team listed in AUTHORS.md
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see .
+ *
+ * Contact the author (Artem Khrapov): https://github.com/kabachuha/
+ */
+
#vid_to_interpolate_chosen_file .w-full, #pics_to_interpolate_chosen_file .w-full, #vid_to_upscale_chosen_file .w-full, #controlnet_input_video_chosen_file .w-full, #controlnet_input_video_mask_chosen_file .w-full,#vid_to_depth_chosen_file .w-full {
display: flex !important;
align-items: flex-start !important;
@@ -66,7 +85,7 @@
/* OLD rules THAT MIGHT NEED TO BE REVIVED AT SOME POINT: */
-/* #tab_deforum_interface .svelte-e8n7p6 { /* hide at default gradio's info section from params at ui*/ */
+/* #tab_deforum_interface .svelte-e8n7p6 { /* hide at default gradio's info section from params at ui*/
/* display: none; */
/* } */