From 3e4ea36bc84aaab05aa721831de245d18866bbc0 Mon Sep 17 00:00:00 2001 From: ZeroCool940711 Date: Sun, 23 Oct 2022 02:54:25 -0700 Subject: [PATCH] Updated diffusers to 0.6.0. - Renamed max_frames to max_duration_in_seconds in txt2vid to reflect better what the option is currently doing. --- configs/webui/webui_streamlit.yaml | 4 ++-- requirements.txt | 6 +++++- scripts/Settings.py | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/configs/webui/webui_streamlit.yaml b/configs/webui/webui_streamlit.yaml index 73169a1..56105af 100644 --- a/configs/webui/webui_streamlit.yaml +++ b/configs/webui/webui_streamlit.yaml @@ -19,7 +19,7 @@ # You may add overrides in a file named "userconfig_streamlit.yaml" in this folder, which can contain any subset # of the properties below. general: - version: 1.20.0 + version: 1.24.6 streamlit_telemetry: False default_theme: dark huggingface_token: '' @@ -212,7 +212,7 @@ txt2vid: format: "%.5f" beta_scheduler_type: "scaled_linear" - max_frames: 100 + max_duration_in_seconds: 30 LDSR_config: sampling_steps: 50 diff --git a/requirements.txt b/requirements.txt index 92c8b47..ea7ba85 100644 --- a/requirements.txt +++ b/requirements.txt @@ -36,10 +36,14 @@ hydralit_components==1.0.10 stqdm==0.0.4 uvicorn fastapi +#jsonmerge==1.8. +#matplotlib==3.6. +#resize-right==0.0.2 +#torchdiffeq==0.2.3 # txt2vid stable-diffusion-videos==0.5.3 -diffusers==0.4 +diffusers==0.6.0 librosa==0.9.2 # img2img inpainting diff --git a/scripts/Settings.py b/scripts/Settings.py index da5bb31..3c79b41 100644 --- a/scripts/Settings.py +++ b/scripts/Settings.py @@ -684,8 +684,8 @@ def layout(): st.session_state["defaults"].txt2vid.do_loop = st.checkbox("Loop Generations", value=st.session_state['defaults'].txt2vid.do_loop, help="Choose to loop or something, IDK.... Default: False") - st.session_state["defaults"].txt2vid.max_frames = st.number_input("Txt2Vid Max Video Frames", value=st.session_state['defaults'].txt2vid.max_frames, - help="Set the default value for the number of video frames generated. Default is: 100") + st.session_state["defaults"].txt2vid.max_duration_in_seconds = st.number_input("Txt2Vid Max Duration in Seconds", value=st.session_state['defaults'].txt2vid.max_duration_in_seconds, + help="Set the default value for the max duration in seconds for the video generated. Default is: 30") st.session_state["defaults"].txt2vid.write_info_files = st.checkbox("Write Info Files For txt2vid Images", value=st.session_state['defaults'].txt2vid.write_info_files, help="Choose to write the info files along with the generated images. Default: True")