souzatharsis / podcastfy

An Open Source Python alternative to NotebookLM's podcast feature: Transforming Multimodal Content into Captivating Multilingual Audio Conversations with GenAI
https://www.podcastfy.ai
Apache License 2.0
969 stars 101 forks source link

Ask for Langsmith API when Attempting Local #92

Closed gjnave closed 2 weeks ago

gjnave commented 2 weeks ago

Hello and thank you for your cool software.

I have followed the directions: dl'd with a pip install, download the llamafile and have the server running.

This is what happens when I run the following command: python -m podcastfy.client --url www.souzatharsis.com --transcript-only --local

D:\Audio\podcastfy\venv\Lib\site-packages\langsmith\client.py:354: LangSmithMissingAPIKeyWarning: API key must be provided when using hosted LangSmith API warnings.warn( 2024-10-21 02:57:33,323 - main - INFO - Transcript generated successfully Transcript generated successfully: None

souzatharsis commented 2 weeks ago

Please ignore the langsmith message. It's just a warning indicating that we would need an api key in case we used their tracing capabilities which we don't. (I'll suppress the warning to avoid confusion)

Your transcript should be in data/transcript by default

We should update the fuction to print this information to the user.

On Mon, Oct 21, 2024, 7:04 AM Gary James Nave (Cognbuild) < @.***> wrote:

Hello and thank you for your cool software.

I have followed the directions: dl'd with a pip install, download the llamafile and have the server running.

This is what happens when I run the following command: python -m podcastfy.client --url www.souzatharsis.com --transcript-only --local

D:\Audio\podcastfy\venv\Lib\site-packages\langsmith\client.py:354: LangSmithMissingAPIKeyWarning: API key must be provided when using hosted LangSmith API warnings.warn( 2024-10-21 02:57:33,323 - main - INFO - Transcript generated successfully Transcript generated successfully: None

— Reply to this email directly, view it on GitHub https://github.com/souzatharsis/podcastfy/issues/92, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADTMY3M57J7B36ORK72MVDTZ4S7TJAVCNFSM6AAAAABQJVLMI6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYDCOBWGMZDMMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

souzatharsis commented 2 weeks ago

simply adding os.environ["LANGCHAIN_TRACING_V2"] = "false" should remove the warning

I'll push an update with it by default

souzatharsis commented 2 weeks ago

solved