Skip to content

Commit

Permalink
also ruff formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinsane committed Mar 27, 2024
1 parent 48c0823 commit a8fd51d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion private_gpt/components/llm/llm_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ def __init__(self, settings: Settings) -> None:
)
case "ollama":
try:
from private_gpt.components.llm.custom.ollama import CustomOllama # type: ignore
from private_gpt.components.llm.custom.ollama import (
CustomOllama, # type: ignore
)
except ImportError as e:
raise ImportError(
"Ollama dependencies not found, install with `poetry install --extras llms-ollama`"
Expand Down

0 comments on commit a8fd51d

Please sign in to comment.