Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
chore: Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
iusztinpaul committed Oct 12, 2023
1 parent 4da55d0 commit b949eff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions modules/financial_bot/financial_bot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import logging
import logging.config
import os
import yaml

from dotenv import load_dotenv, find_dotenv
from pathlib import Path

import yaml
from dotenv import find_dotenv, load_dotenv

logger = logging.getLogger(__name__)

Expand Down
4 changes: 2 additions & 2 deletions modules/financial_bot/financial_bot/chains.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ def _call(self, inputs: Dict[str, Any]) -> Dict[str, Any]:
}
)["prompt"]
response = self.hf_pipeline(prompt)



import logging

logger = logging.getLogger(__name__)
logger.info("HISTORY")
logger.info(inputs["chat_history"])
Expand Down

0 comments on commit b949eff

Please sign in to comment.