AlanRex commited on
Commit
9812b07
·
verified ·
1 Parent(s): 1dfe9d8

Update Bert_predict.py

Browse files
Files changed (1) hide show
  1. Bert_predict.py +1 -1
Bert_predict.py CHANGED
@@ -29,7 +29,7 @@ class BertPredictor:
29
  today_date_str = date.today().strftime('%Y-%m-%d')
30
  self.news_csv_path = os.path.join(self.current_dir, f'news_{today_date_str}.csv')
31
  ### 抓取固定檔案而非今天,成果展示要註解
32
- #self.news_csv_path = os.path.join(self.current_dir, "news_2025-09-12.csv")
33
 
34
  # 用於API查詢的日期仍然是昨天
35
  self.target_date = date.today() - timedelta(days=1)
 
29
  today_date_str = date.today().strftime('%Y-%m-%d')
30
  self.news_csv_path = os.path.join(self.current_dir, f'news_{today_date_str}.csv')
31
  ### 抓取固定檔案而非今天,成果展示要註解
32
+ self.news_csv_path = os.path.join(self.current_dir, "news_2025-09-12.csv")
33
 
34
  # 用於API查詢的日期仍然是昨天
35
  self.target_date = date.today() - timedelta(days=1)