diff --git a/langflow/backend/app.py b/langflow/backend/app.py index 3eadf93af..7c30aaa3d 100644 --- a/langflow/backend/app.py +++ b/langflow/backend/app.py @@ -28,3 +28,9 @@ def create_app(): app = create_app() + + +if __name__ == "__main__": + import uvicorn + + uvicorn.run(app, host="0.0.0.0", port=5003) diff --git a/langflow/backend/util.py b/langflow/backend/util.py index 010c12f68..2474bf322 100644 --- a/langflow/backend/util.py +++ b/langflow/backend/util.py @@ -263,12 +263,11 @@ def format_dict(d): # Show if required value["show"] = bool( - (value["required"] and key not in ["input_variables", "verbose"]) + (value["required"] and key not in ["input_variables"]) or key in [ "allowed_tools", - "verbose", - "Memory", + # "Memory", "memory", "prefix", "examples", diff --git a/space_flow/package-lock.json b/space_flow/package-lock.json deleted file mode 100644 index de179205b..000000000 --- a/space_flow/package-lock.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "space_flow", - "lockfileVersion": 2, - "requires": true, - "packages": {} -}