# === FastAPI & Gradio Server === fastapi uvicorn python-multipart aiofiles # === Gradio UI Framework (Gradio 4.x) === gradio # === Transformers & Deep Learning === transformers torch huggingface_hub # === NLP & ML 工具包 === scikit-learn pandas numpy requests # === OCR 圖像處理 === easyocr Pillow aiofiles # === Pydantic 2.x 支援(你使用新版本)=== pydantic