diff --git a/app/daily_hot_news.py b/app/daily_hot_news.py index 77cd9426..ecd54465 100644 --- a/app/daily_hot_news.py +++ b/app/daily_hot_news.py @@ -7,7 +7,7 @@ from app.gpt import get_answer_from_llama_web -with open("data/hot_news_rss.json", "r") as f: +with open("app/data/hot_news_rss.json", "r") as f: rss_urls = json.load(f) TODAY = today = date.today() diff --git a/app/slash_command.py b/app/slash_command.py index 05d340f0..0d75607c 100644 --- a/app/slash_command.py +++ b/app/slash_command.py @@ -1,6 +1,6 @@ import json -with open("data/prompt.json", "r") as f: +with open("app/data/prompt.json", "r") as f: prompt_data = json.load(f) def register_slack_slash_commands(slack_app): @@ -256,4 +256,4 @@ def handle_command_gpt_as_regex_master(ack, say, command): text=f"<@{user_id}>, let's talk!", blocks=blocks, reply_broadcast=True - ) + ) \ No newline at end of file