Spaces:
Paused
Paused
Julian Bilcke
commited on
Commit
·
2ca9f9b
1
Parent(s):
955ce73
let's work on that later
Browse files- src/index.mts +3 -0
src/index.mts
CHANGED
|
@@ -626,6 +626,7 @@ app.get("/:ownerId", async (req, res) => {
|
|
| 626 |
})
|
| 627 |
|
| 628 |
// caption an audio sample
|
|
|
|
| 629 |
app.post("/audio/caption", async (req, res) => {
|
| 630 |
|
| 631 |
if (!hasValidAuthorization(req.headers)) {
|
|
@@ -681,6 +682,8 @@ app.post("/audio/caption", async (req, res) => {
|
|
| 681 |
}
|
| 682 |
})
|
| 683 |
|
|
|
|
|
|
|
| 684 |
// get all pending videos - this is for admin usage only
|
| 685 |
app.get("/", async (req, res) => {
|
| 686 |
if (!hasValidAuthorization(req.headers)) {
|
|
|
|
| 626 |
})
|
| 627 |
|
| 628 |
// caption an audio sample
|
| 629 |
+
/*
|
| 630 |
app.post("/audio/caption", async (req, res) => {
|
| 631 |
|
| 632 |
if (!hasValidAuthorization(req.headers)) {
|
|
|
|
| 682 |
}
|
| 683 |
})
|
| 684 |
|
| 685 |
+
*/
|
| 686 |
+
|
| 687 |
// get all pending videos - this is for admin usage only
|
| 688 |
app.get("/", async (req, res) => {
|
| 689 |
if (!hasValidAuthorization(req.headers)) {
|