Skip to content

Commit

Permalink
fix: remove spammy log message when youtube tool not available
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Sep 16, 2024
1 parent 0208e76 commit 6ab895c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gptme/tools/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
from youtube_transcript_api import YouTubeTranscriptApi # fmt: skip
except ImportError:
YouTubeTranscriptApi = None
logger.warning(
"youtube_transcript_api not available. YouTube tool will be disabled."
)


def get_transcript(video_id: str) -> str:
Expand Down

0 comments on commit 6ab895c

Please sign in to comment.