Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CreateIntelligens/face_enhancer

Repository files navigation

Face Enhancer Service

FastAPI 微服務,提供臉部增強 (Face Enhancement) 功能。模型會在首次使用時自動下載至 .assets 目錄。

Quick start

  1. 安裝依賴:

    cd face_enhancer
    pip install -r requirements.txt
    pip install -e .
  2. 啟動 API:

    uvicorn face_enhancer.app:app --reload --port 8005

    開啟 http://localhost:8005/ 使用 Demo UI。

  3. 呼叫服務:

    curl -X POST http://localhost:8005/enhance \
     -H "Content-Type: application/json" \
     -d @payload.json # 參考 /docs 取得 schema

Docker

docker compose up --build

服務會在 http://localhost:8005 啟動,模型會持久化儲存。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /