Spaces:
Sleeping
Sleeping
Update command_handler.py
Browse files- command_handler.py +2 -1
command_handler.py
CHANGED
|
@@ -5,6 +5,7 @@ from linebot.v3.messaging import TextMessage, ImageMessage
|
|
| 5 |
# 匯入服務函式
|
| 6 |
from cwa_service import fetch_cwa_alarm_list, fetch_significant_earthquakes, fetch_latest_significant_earthquake
|
| 7 |
from usgs_service import fetch_global_last24h_text, fetch_taiwan_df_this_year
|
|
|
|
| 8 |
from ai_service import generate_ai_text
|
| 9 |
from config import CURRENT_YEAR, HF_SPACE_URL
|
| 10 |
|
|
@@ -32,7 +33,7 @@ def get_info_message() -> TextMessage:
|
|
| 32 |
text = (
|
| 33 |
"🤖 關於我\n\n"
|
| 34 |
"我是一個多功能助理機器人,提供地震查詢與 AI 對話功能。\n\n"
|
| 35 |
-
"• 版本: 4.
|
| 36 |
"• 資料來源: CWA, USGS, Hugging Face\n"
|
| 37 |
"• 開發者: dayichen"
|
| 38 |
)
|
|
|
|
| 5 |
# 匯入服務函式
|
| 6 |
from cwa_service import fetch_cwa_alarm_list, fetch_significant_earthquakes, fetch_latest_significant_earthquake
|
| 7 |
from usgs_service import fetch_global_last24h_text, fetch_taiwan_df_this_year
|
| 8 |
+
from plotting_service import create_and_save_map
|
| 9 |
from ai_service import generate_ai_text
|
| 10 |
from config import CURRENT_YEAR, HF_SPACE_URL
|
| 11 |
|
|
|
|
| 33 |
text = (
|
| 34 |
"🤖 關於我\n\n"
|
| 35 |
"我是一個多功能助理機器人,提供地震查詢與 AI 對話功能。\n\n"
|
| 36 |
+
"• 版本: 4.1\n"
|
| 37 |
"• 資料來源: CWA, USGS, Hugging Face\n"
|
| 38 |
"• 開發者: dayichen"
|
| 39 |
)
|