Skip to content

Commit

Permalink
Add snapshot updates for cadence.
Browse files Browse the repository at this point in the history
  • Loading branch information
rewbs committed Sep 19, 2023
1 parent 2686283 commit 83ec080
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 18 deletions.
4 changes: 2 additions & 2 deletions src/ParseqUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ const ParseqUI = (props) => {
e.preventDefault();
} else if (e.key === 'Escape') {
setTimeout(() => e.target.blur());
setCandidateCadence(options.cadence)
setCandidateCadence(options.cadence);
e.preventDefault();
}
}}
Expand Down Expand Up @@ -939,7 +939,7 @@ const ParseqUI = (props) => {
label={<Typography fontSize={"0.75em"}>Generate in reverse</Typography>} />
</Tooltip2>
</Stack>
</span>, [options, candidateBPM, candidateFPS, candidateLastFrame, lastFrame, keyframeLock, reverseRender, remapFrames, keyframes, theme])
</span>, [options, candidateBPM, candidateFPS, candidateLastFrame, candidateCadence, lastFrame, keyframeLock, reverseRender, remapFrames, keyframes, theme])



Expand Down
47 changes: 31 additions & 16 deletions src/__snapshots__/Deforum.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ exports[`Blank document 1`] = `
"output_fps": 20,
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [
"seed",
Expand Down Expand Up @@ -2504,7 +2505,8 @@ exports[`Delegated seed 1`] = `
"output_fps": 20,
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [
"noise"
Expand Down Expand Up @@ -2668,7 +2670,8 @@ exports[`Full prodigy 1`] = `
"output_fps": "30",
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [
"seed",
Expand Down Expand Up @@ -167119,7 +167122,8 @@ exports[`Info Matching 1`] = `
"output_fps": "10",
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [
"seed",
Expand Down Expand Up @@ -168339,7 +168343,8 @@ exports[`Multiple evals in prompts 1`] = `
"output_fps": 20,
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [
"seed",
Expand Down Expand Up @@ -170791,7 +170796,8 @@ exports[`TimeSeries 1`] = `
"output_fps": "20",
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [
"seed",
Expand Down Expand Up @@ -179202,7 +179208,8 @@ exports[`Tutorial 2 part 1 1`] = `
"output_fps": "10",
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [
"seed",
Expand Down Expand Up @@ -182244,7 +182251,8 @@ exports[`Tutorial 2 part 2 1`] = `
"output_fps": "10",
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [
"seed",
Expand Down Expand Up @@ -186231,7 +186239,8 @@ exports[`common prompts 1`] = `
"output_fps": 20,
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [
"seed"
Expand Down Expand Up @@ -186521,7 +186530,8 @@ exports[`common_prompt_append 1`] = `
"output_fps": 20,
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [],
"displayedFields": [],
Expand Down Expand Up @@ -186654,7 +186664,8 @@ exports[`common_prompt_prepend 1`] = `
"output_fps": 20,
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [],
"displayedFields": [],
Expand Down Expand Up @@ -186773,7 +186784,8 @@ exports[`info_match_gap, info_match_progress and bez offset 1`] = `
"output_fps": 20,
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [
"translation_z",
Expand Down Expand Up @@ -188228,7 +188240,8 @@ exports[`posneg() functions 1`] = `
"output_fps": 20,
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [
"prompt_weight_1",
Expand Down Expand Up @@ -188256,7 +188269,7 @@ exports[`posneg() functions 1`] = `
"frame": 0,
"prompt_weight_1": 0,
"prompt_weight_2": 0,
"deforum_prompt": "hello (positive phrase:0.0000) (negative phrase:0.0000) &lt;lora:positive_lora:0.0000&gt; &lt;lora:negative_lora:0.0000&gt; --neg hello (np positive phrase:0.0000) (np negative phrase:0.0000) &lt;lora:np_positive_lora:0.0000&gt; &lt;lora:np_negative_lora:0.0000&gt;",
"deforum_prompt": "hello --neg hello ",
"prompt_weight_1_delta": 0,
"prompt_weight_1_pc": 0,
"prompt_weight_2_delta": 0,
Expand Down Expand Up @@ -188532,7 +188545,8 @@ exports[`reverse_render_reversed 1`] = `
"output_fps": 20,
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [
"zoom",
Expand Down Expand Up @@ -188786,7 +188800,8 @@ exports[`reverse_render_standard 1`] = `
"output_fps": 20,
"cc_window_width": 0,
"cc_window_slide_rate": 1,
"cc_use_input": false
"cc_use_input": false,
"cadence": 1
},
"managedFields": [
"zoom",
Expand Down

0 comments on commit 83ec080

Please sign in to comment.