diff --git a/src/backend/base/langflow/components/data/File.py b/src/backend/base/langflow/components/data/File.py index fe3b08066..70fe1dccc 100644 --- a/src/backend/base/langflow/components/data/File.py +++ b/src/backend/base/langflow/components/data/File.py @@ -13,8 +13,8 @@ class FileComponent(CustomComponent): def build_config(self) -> Dict[str, Any]: return { - "paths": { - "display_name": "Paths", + "path": { + "display_name": "Path", "field_type": "file", "file_types": TEXT_FILE_TYPES, "info": f"Supported file types: {', '.join(TEXT_FILE_TYPES)}",