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.
This commit is contained in:
ZeroCool940711 2022-10-23 02:54:25 -07:00 committed by Alejandro Gil
parent 41e84a763a
commit 3e4ea36bc8
3 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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")