tkkbbo332 commited on
Commit
f767c71
·
1 Parent(s): da6620d

Update Bert_predict.py

Browse files
Files changed (1) hide show
  1. Bert_predict.py +1 -1
Bert_predict.py CHANGED
@@ -28,7 +28,7 @@ class BertPredictor:
28
  # 檔案名稱用今天的日期,但內容是昨天的
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查詢的日期仍然是昨天
 
28
  # 檔案名稱用今天的日期,但內容是昨天的
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查詢的日期仍然是昨天