#!/bin/bash set -e # 排程腳本背景執行 python scheduler.py & # API 前景執行(HF Space 預設對外 port 7860) exec uvicorn main:app --host 0.0.0.0 --port 7860