Add option to select between lerp and slerp in txt2vid

This commit is contained in:
ZeroCool940711 2022-10-11 01:27:44 -07:00 committed by Alejandro Gil
parent 2215a3b403
commit 1cc22b0984
2 changed files with 43 additions and 42 deletions

View File

@ -21,7 +21,7 @@
general: general:
streamlit_telemetry: False streamlit_telemetry: False
default_theme: dark default_theme: dark
huggingface_token: "" huggingface_token: ''
gpu: 0 gpu: 0
outdir: outputs outdir: outputs
default_model: "Stable Diffusion v1.4" default_model: "Stable Diffusion v1.4"
@ -179,6 +179,7 @@ txt2vid:
group_by_prompt: True group_by_prompt: True
write_info_files: True write_info_files: True
do_loop: False do_loop: False
use_lerp_for_text: False
save_as_jpg: False save_as_jpg: False
use_GFPGAN: False use_GFPGAN: False
use_RealESRGAN: False use_RealESRGAN: False
@ -194,16 +195,16 @@ txt2vid:
beta_start: beta_start:
value: 0.00085 value: 0.00085
min_value: 0.0001 min_value: 0.00010
max_value: 0.0300 max_value: 0.03000
step: 0.0001 step: 0.00010
format: "%.5f" format: "%.5f"
beta_end: beta_end:
value: 0.012 value: 0.01200
min_value: 0.0001 min_value: 0.00010
max_value: 0.0300 max_value: 0.03000
step: 0.0001 step: 0.00010
format: "%.5f" format: "%.5f"
beta_scheduler_type: "scaled_linear" beta_scheduler_type: "scaled_linear"

View File

@ -130,8 +130,8 @@ def layout():
st.experimental_rerun() st.experimental_rerun()
txt2img_tab, img2img_tab, txt2vid_tab, img2txt_tab, concept_library_tab = st.tabs(["Text-to-Image", "Image-to-Image", txt2img_tab, img2img_tab, txt2vid_tab, img2txt_tab, concept_library_tab = st.tabs(["Text-to-Image", "Image-to-Image",
"Text-to-Video", "Image-To-Text", "Text-to-Video", "Image-To-Text",
"Concept Library"]) "Concept Library"])
#with home_tab: #with home_tab:
#from home import layout #from home import layout
#layout() #layout()