Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Feb 27, 2025
1 parent 9280eb1 commit 4bd6cf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/base/langflow/components/nvidia/nvidia_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from langflow.custom import Component
from langflow.io import BoolInput, DropdownInput, FileInput, IntInput, MessageTextInput, Output
from langflow.schema import Data, Message,DataFrame
from langflow.schema import Data, DataFrame, Message


class NvidiaIngestComponent(Component):
Expand Down Expand Up @@ -139,7 +139,7 @@ def load_file(self) -> DataFrame:
path_str: str
# path_str = str(self.path.files) if isinstance(self.path, Message) else str(self.path)
if isinstance(self.path, Message):
path_str = str(self.path.files[0]) if self.path.files is not None else str(self.path.text)
path_str = str(self.path.files[0]) if self.path.files is not None else str(self.path.text)
else:
path_str = str(self.path)
resolved_path = self.resolve_path(path_str)
Expand Down

0 comments on commit 4bd6cf6

Please sign in to comment.