langflow icon indicating copy to clipboard operation
langflow copied to clipboard

Code export

Open RobertHH-IS opened this issue 2 years ago • 2 comments

I know we have an export command but we do not have a method to export any code, or framework of code. Is this in the works or not intended as a feature?

RobertHH-IS avatar Apr 26 '23 09:04 RobertHH-IS

You can import the flow into LangChain using:

from langflow import load_flow_from_json

langchain_obj = load_flow_from_json('exported_flow.json')

We might work on exporting code in the future but it isn't in development at the moment.

ogabrielluiz avatar Apr 26 '23 21:04 ogabrielluiz

You can import the flow into LangChain using:

from langflow import load_flow_from_json

langchain_obj = load_flow_from_json('exported_flow.json')

We might work on exporting code in the future but it isn't in development at the moment.

Hello friends, I'm new here, I'm having this problem:

raise ValueError(f"File {file_name} is not accepted") ValueError: File is not accepted

I don't know how to solve it. I've tried several ways but I can't solve it, if you could help me I would appreciate it! image

wasabiih avatar May 09 '23 09:05 wasabiih

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 23 '23 09:06 stale[bot]