🔨 refactor(constants.tsx): remove unnecessary indentation in getPythonCode function

The indentation of the commented line in the getPythonCode function was unnecessary and has been removed to improve code readability.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-06-19 10:55:18 -03:00
commit 5ea20aa2f0

View file

@ -123,9 +123,9 @@ export const getPythonCode = (flow: FlowType): string => {
const flowName = flow.name;
return `from langflow import load_flow_from_json
flow = load_flow_from_json("${flowName}.json")
# Now you can use it like any chain
flow("Hey, have you heard of LangFlow?")`;
flow = load_flow_from_json("${flowName}.json")
# Now you can use it like any chain
flow("Hey, have you heard of LangFlow?")`;
};
/**