Spaces:
Sleeping
Sleeping
chen commited on
Update config.py
Browse files30 unmodified lines3132333435365 unmodified lines42434430 unmodified linesCWA_API_KEY = os.getenv("CWA_API_KEY")CWA_ALARM_API = "https://app-2.cwa.gov.tw/api/v1/earthquake/alarm/list"CWA_SIGNIFICANT_API = "https://opendata.cwa.gov.tw/api/v1/rest/datastore/E-A0015-001"USGS_API_BASE_URL = "https://earthquake.usgs.gov/fdsnws/event/1/query"# --- AI 模型設定 ---5 unmodified lines# --- 顯示用當年年份 ---CURRENT_YEAR = datetime.now().year30 unmodified lines313233343536375 unmodified lines4344454630 unmodified linesCWA_API_KEY = os.getenv("CWA_API_KEY")CWA_ALARM_API = "https://app-2.cwa.gov.tw/api/v1/earthquake/alarm/list"CWA_SIGNIFICANT_API = "https://opendata.cwa.gov.tw/api/v1/rest/datastore/E-A0015-001"CWA_LOCAL_EQ_API = "https://opendata.cwa.gov.tw/api/v1/rest/datastore/E-A0016-001" # [新增] 小區域地震 APIUSGS_API_BASE_URL = "https://earthquake.usgs.gov/fdsnws/event/1/query"# --- AI 模型設定 ---5 unmodified lines# --- 顯示用當年年份 ---CURRENT_YEAR = datetime.now().year
config.py+2