Not able to change the component value in python code . #1990
Replies: 2 comments
-
To change the Here's the corrected code: from langflow import load_flow_from_json
TWEAKS = {
"CustomComponent-zNl0v": {},
"RecursiveCharacterTextSplitter-lMlOf": {},
"FileLoader-6cW7S": {"file_path": "C:\\Users\\pchaudhary\\Downloads\\AreaOfInterest.pdf"}
}
flow = load_flow_from_json("topic_extract_new_3.json", tweaks=TWEAKS) This should correctly update the file path for the
|
Beta Was this translation helpful? Give feedback.
-
Hi! 👋 We are using other channels as our official means of communication with users. We apologize for the delayed response. Thank you for your understanding. Best regards, |
Beta Was this translation helpful? Give feedback.
-
I am trying below code to change the value of FileLoader component in Tweaks , but when I am running the code , it is taking older file only which I have selected during flow creation . Can you please help me on ?
Beta Was this translation helpful? Give feedback.
All reactions