Uploading Python Code as Custom Component in Langflow #6326
Unanswered
Tuguldur-Tserenbaljir
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I’m currently working on a project with Langflow and have a Python script titled "Sum of Two Numbers" that I copied from Langflow’s own examples. I know that the Python code works properly with Langflow, as there are no issues on that front.
I also understand that Langflow allows the uploading of JSON files as custom components. This got me wondering if it’s possible to upload Python code as a custom component as well. I tried to upload the script, but I’m receiving the following response: Response details: {"detail":"Method Not Allowed"}.
Could you confirm if uploading Python code is supported? If not, is there an alternative approach to integrating Python code into Langflow?
Beta Was this translation helpful? Give feedback.
All reactions