From a221d93353ada37f6a5f9b74c6fb0bef58f4d116 Mon Sep 17 00:00:00 2001 From: Ved Gupta Date: Wed, 8 Nov 2023 17:52:02 +0530 Subject: [PATCH] typo fixed --- .github/workflows/main.yaml | 2 +- app/core/models/Transcribe.py | 2 +- app/main.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 16d178e..d5f0c7f 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -6,7 +6,7 @@ on: workflow_dispatch: jobs: - sync-to-hub: + deploy-to-hub: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/app/core/models/Transcribe.py b/app/core/models/Transcribe.py index f8955a6..d6513fe 100644 --- a/app/core/models/Transcribe.py +++ b/app/core/models/Transcribe.py @@ -46,4 +46,4 @@ def create(self, user_id: UUID, text: str, duration: int): self.db.refresh(self.transcribe_data) except Exception as e: self.db.rollback() - raise e \ No newline at end of file + raise e diff --git a/app/main.py b/app/main.py index 7b80728..b7d36f1 100755 --- a/app/main.py +++ b/app/main.py @@ -29,6 +29,7 @@ allow_headers=["*"], ) + @app.get("/", include_in_schema=False) async def redirect_to_docs(): return RedirectResponse(url="/docs")