From 49e9bfe0a1fda16bcf8789b775d96f2ad83595c9 Mon Sep 17 00:00:00 2001 From: "shuohigh@gmail.com" Date: Fri, 16 May 2025 11:21:02 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0webhook=E5=9B=9E=E8=B0=83?= =?UTF-8?q?=E5=A4=84=E7=90=86=E8=A3=85=E9=A5=B0=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- .../modal deploy.run.xml | 2 +- pyproject.toml | 1 + src/BowongModalFunctions/api.py | 29 +++--- src/BowongModalFunctions/config.py | 1 + .../models/media_model.py | 14 ++- src/BowongModalFunctions/models/web_model.py | 19 +++- src/BowongModalFunctions/utils/SentryUtils.py | 46 ++++++++- src/cluster/ffmpeg_app.py | 95 +++++++++++-------- src/cluster/video.py | 9 -- uv.lock | 2 + 11 files changed, 150 insertions(+), 70 deletions(-) rename .idea/runConfigurations/modal_deploy.xml => cmd/modal deploy.run.xml (93%) diff --git a/README.md b/README.md index 90e973e..c6c77b1 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ## 部署 ```bash -modal deploy -e dev ./src/cluster/app.py +modal deploy -m cluster.app ``` # Pip diff --git a/.idea/runConfigurations/modal_deploy.xml b/cmd/modal deploy.run.xml similarity index 93% rename from .idea/runConfigurations/modal_deploy.xml rename to cmd/modal deploy.run.xml index 120d67e..3f70d48 100644 --- a/.idea/runConfigurations/modal_deploy.xml +++ b/cmd/modal deploy.run.xml @@ -1,7 +1,7 @@ -