add license notices
parent
eee35922a2
commit
37504733b4
|
|
@ -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.
|
||||
|
|
|
|||
2
LICENSE
2
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
|
||||
|
||||
|
|
|
|||
17
install.py
17
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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import launch
|
||||
import os
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
*/
|
||||
|
||||
// mouseover tooltips for various UI elements
|
||||
|
||||
deforum_titles = {
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
*/
|
||||
|
||||
function submit_deforum(){
|
||||
rememberGallerySelection('deforum_gallery')
|
||||
showSubmitButtons('deforum', false)
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# 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()
|
||||
init_deforum()
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import torch
|
||||
import numpy as np
|
||||
import torchvision.transforms.functional as F
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# 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!
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import re
|
||||
import numpy as np
|
||||
import numexpr
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import json
|
||||
import os
|
||||
import tempfile
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import numpy as np
|
||||
import torch
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import cv2
|
||||
import pkg_resources
|
||||
from skimage.exposure import match_histograms
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# 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
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# 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
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
def get_samplers_list():
|
||||
return {
|
||||
'euler a': 'Euler a',
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# 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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import gradio as gr
|
||||
# print (cnet_1.get_modules())
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
from math import ceil
|
||||
import tqdm
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# 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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import gc
|
||||
import cv2
|
||||
import numpy as np
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import torch
|
||||
import numpy as np
|
||||
from PIL import Image
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import torch
|
||||
import cv2
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
import cv2
|
||||
import torch
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# 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
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# 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
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import hashlib
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
from PIL import Image
|
||||
import math
|
||||
import json
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import gradio as gr
|
||||
import modules.paths as ph
|
||||
from .general_utils import get_os
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os, cv2
|
||||
import torch
|
||||
from pathlib import Path
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
import pathlib
|
||||
import random
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import cv2
|
||||
import numpy as np
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import requests
|
||||
import os
|
||||
from PIL import Image
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
import cv2
|
||||
import gc
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import torch
|
||||
from torch.nn.functional import interpolate
|
||||
import numpy as np
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import copy
|
||||
import json
|
||||
import logging
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
##
|
||||
# From /scripts directory, run like: python -m unittest deforum_helpers.parseq_adapter_test
|
||||
##
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import re
|
||||
import numexpr
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
import pandas as pd
|
||||
import cv2
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
import time
|
||||
import pathlib
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
import cv2
|
||||
from modules.shared import opts
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
from rich.console import Console
|
||||
console = Console()
|
||||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import traceback
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
import cv2
|
||||
import gc
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import random
|
||||
|
||||
def next_seed(args):
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
import json
|
||||
import modules.shared as sh
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
from decimal import Decimal, getcontext
|
||||
from modules.shared import opts
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
from types import SimpleNamespace
|
||||
from modules.ui_components import FormRow
|
||||
import modules.shared as sh
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# 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
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# 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
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
from pathlib import Path
|
||||
import shutil
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
# TODO: deduplicate upscaling/interp/vid2depth code
|
||||
|
||||
import os, gc
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
import cv2
|
||||
import shutil
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
from modules.processing import StableDiffusionProcessingImg2Img
|
||||
from modules.shared import opts, sd_model
|
||||
import os
|
||||
|
|
|
|||
|
|
@ -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 <https://www.gnu.org/licenses/>.
|
||||
|
||||
# Contact the author (Artem Khrapov): https://github.com/kabachuha/
|
||||
|
||||
import os
|
||||
import torch
|
||||
from PIL import Image
|
||||
|
|
|
|||
21
style.css
21
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 <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* 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; */
|
||||
/* } */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue