Skip to content

Commit

Permalink
refactor: update import paths for blog post creator and clean up app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-jakisa committed Feb 23, 2025
1 parent 1d22ca6 commit a9754a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 1 addition & 2 deletions src/agents/blogpostcreator.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
from langchain_openai import OpenAIEmbeddings, ChatOpenAI
from langchain_text_splitters import RecursiveCharacterTextSplitter

from prompts import BLOG_CREATOR_PROMPT

from agents.prompts import BLOG_CREATOR_PROMPT

class BlogPostCreator:
def __init__(self, keyword, number_of_web_references):
Expand Down
6 changes: 0 additions & 6 deletions src/app.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import streamlit as st
import os

from agents.blogpostcreator import BlogPostCreator

with st.sidebar:
Expand Down Expand Up @@ -69,11 +68,6 @@

st.divider()






st.title(" ✍️ Blog Post Generator ")

if not openai_api_key:
Expand Down

0 comments on commit a9754a9

Please sign in to comment.