Skip to content

Commit

Permalink
Solves #92 + versioned prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
souzatharsis committed Oct 25, 2024
1 parent 60cdc19 commit 4b2cbf6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions podcastfy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

app = typer.Typer()

os.environ["LANGCHAIN_TRACING_V2"] = "false"


def process_content(
urls=None,
Expand Down
2 changes: 1 addition & 1 deletion podcastfy/content_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __compose_prompt(self, num_images: int):
prompt_template = hub.pull(
self.config.get("content_generator", {}).get(
"prompt_template", "souzatharsis/podcastfy_multimodal"
)
)+":c67bea9c"
)

image_path_keys = []
Expand Down
2 changes: 1 addition & 1 deletion tests/test_generate_podcast.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def test_generate_transcript_with_user_instructions(sample_config):

# Create a custom conversation config with user instructions
conversation_config = {
"word_count": 300,
"word_count": 2000,
"conversation_style": ["formal", "educational"],
"roles_person1": "professor",
"roles_person2": "student",
Expand Down

0 comments on commit 4b2cbf6

Please sign in to comment.