🔀 chore(constants.tsx): refactor buildFlowScript function to use template literals for better readability and maintainability
This commit is contained in:
parent
9ea667aa64
commit
fde865f9ca
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ TWEAKS = ${
|
||||||
}
|
}
|
||||||
flow = load_flow_from_json("${flowName}.json", tweaks=TWEAKS)
|
flow = load_flow_from_json("${flowName}.json", tweaks=TWEAKS)
|
||||||
# Now you can use it like any chain
|
# Now you can use it like any chain
|
||||||
flow("Hey, have you heard of Langflow?")`;
|
flow(${inputs})`;
|
||||||
};
|
};
|
||||||
|
|
||||||
function buildTweakObject(tweak) {
|
function buildTweakObject(tweak) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue