aicodingfun commited on
Commit
945aedc
·
verified ·
1 Parent(s): 480e488

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ DEVELOPER_NAME = "黃千宥、陳奕瑄、汪于捷、李哲弘、洪寓澤"
9
  # 初始化 pytrends
10
  # hl='zh-TW' -> 繁體中文, tz=480 -> 台灣時區 (GMT+8)
11
  pytrends = TrendReq(hl='zh-TW', tz=480)
12
- PLOTLY_TEMPLATE = "plotly_dark"
13
  def analyze_google_trends(keywords_str: str, timeframe: str):
14
  """
15
  根據輸入的關鍵字和時間範圍,從 Google Trends 獲取並分析資料。
 
9
  # 初始化 pytrends
10
  # hl='zh-TW' -> 繁體中文, tz=480 -> 台灣時區 (GMT+8)
11
  pytrends = TrendReq(hl='zh-TW', tz=480)
12
+ PLOTLY_TEMPLATE = "ggplot2"
13
  def analyze_google_trends(keywords_str: str, timeframe: str):
14
  """
15
  根據輸入的關鍵字和時間範圍,從 Google Trends 獲取並分析資料。