Spaces:
Running
Running
Ved Gupta
commited on
Commit
·
a221d93
1
Parent(s):
a2ac328
typo fixed
Browse files- .github/workflows/main.yaml +1 -1
- app/core/models/Transcribe.py +1 -1
- app/main.py +1 -0
.github/workflows/main.yaml
CHANGED
@@ -6,7 +6,7 @@ on:
|
|
6 |
workflow_dispatch:
|
7 |
|
8 |
jobs:
|
9 |
-
|
10 |
runs-on: ubuntu-latest
|
11 |
steps:
|
12 |
- uses: actions/checkout@v3
|
|
|
6 |
workflow_dispatch:
|
7 |
|
8 |
jobs:
|
9 |
+
deploy-to-hub:
|
10 |
runs-on: ubuntu-latest
|
11 |
steps:
|
12 |
- uses: actions/checkout@v3
|
app/core/models/Transcribe.py
CHANGED
@@ -46,4 +46,4 @@ class TranscribeController:
|
|
46 |
self.db.refresh(self.transcribe_data)
|
47 |
except Exception as e:
|
48 |
self.db.rollback()
|
49 |
-
raise e
|
|
|
46 |
self.db.refresh(self.transcribe_data)
|
47 |
except Exception as e:
|
48 |
self.db.rollback()
|
49 |
+
raise e
|
app/main.py
CHANGED
@@ -29,6 +29,7 @@ if settings.BACKEND_CORS_ORIGINS:
|
|
29 |
allow_headers=["*"],
|
30 |
)
|
31 |
|
|
|
32 |
@app.get("/", include_in_schema=False)
|
33 |
async def redirect_to_docs():
|
34 |
return RedirectResponse(url="/docs")
|
|
|
29 |
allow_headers=["*"],
|
30 |
)
|
31 |
|
32 |
+
|
33 |
@app.get("/", include_in_schema=False)
|
34 |
async def redirect_to_docs():
|
35 |
return RedirectResponse(url="/docs")
|