mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 18:21:12 +00:00
adjust request key-values
This commit is contained in:
1 parent
858a8d95de
commit
f078a47745
3 files changed
+9
-6
No files matched your search
@@ -12,11 +12,11 @@ export interface EnqueueVideoStyleTransferRequest {
|
||||
"$.510.inputs.Text": string;
|
||||
"$.8.inputs.text": string;
|
||||
|
||||
"$.800.inputs.Value": number;
|
||||
//"$.800.inputs.Value": number;
|
||||
"$.772.inputs.Value": number;
|
||||
"$.797.inputs.Value": number;
|
||||
"$.796.inputs.Value": number;
|
||||
"$.1636.inputs.Value": number;
|
||||
//"$.1636.inputs.Value": number;
|
||||
"$.771.inputs.Value": number;
|
||||
"$.403.inputs.Value": number;
|
||||
"$.1398.inputs.Value": number;
|
||||
|
||||
+2
-2
@@ -62,11 +62,11 @@ export function mapRequest(vstValues: VSTType){
|
||||
"$.8.inputs.text":
|
||||
hiddenValues.negPrompt+ vstValues.negPrompt,
|
||||
|
||||
"$.800.inputs.Value": 0, //vstValues.cnCanny,
|
||||
//"$.800.inputs.Value": 0, // vstValues.cnCanny,
|
||||
"$.772.inputs.Value": vstValues.cnDepth,
|
||||
"$.797.inputs.Value": vstValues.cnLineArtAnime,
|
||||
"$.796.inputs.Value": vstValues.cnLineArtRealistic,
|
||||
"$.1636.inputs.Value": 0, //vstValues.cnLipsStrength,
|
||||
//"$.1636.inputs.Value": 0, //vstValues.cnLipsStrength,
|
||||
"$.771.inputs.Value": vstValues.cnOpenPose,
|
||||
"$.403.inputs.Value": vstValues.cnSparseScribble,
|
||||
"$.1398.inputs.Value": vstValues.cnSoftEdge,
|
||||
|
||||
+5
-2
@@ -251,8 +251,11 @@ export default function SectionAdvanceOptions({
|
||||
<div className="d-flex p-3 justify-content-end">
|
||||
<Button
|
||||
icon={faRotateLeft}
|
||||
label="Reset"
|
||||
onClick={()=>{handlePreset('custom')}}
|
||||
label="Reset to Default"
|
||||
onClick={()=>{
|
||||
handlePreset('default');
|
||||
pickPreset('default');
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
</Accordion.Item>
|
||||
|
||||
Reference in new issue
Block a user