Spaces:
Running
Running
Commit
•
d860840
1
Parent(s):
3dd1f8d
ok
Browse files
src/app/api/v1/export/route.ts
CHANGED
@@ -23,8 +23,8 @@ export async function POST(req: NextRequest, res: NextResponse) {
|
|
23 |
console.log("[api/v1/export] sending clap to ai-tube-clap-exporter.hf.space")
|
24 |
|
25 |
const result = await fetch(
|
26 |
-
`http://localhost:7860?f=${format}`,
|
27 |
-
|
28 |
{ method: "POST", body: await req.blob() }
|
29 |
)
|
30 |
|
|
|
23 |
console.log("[api/v1/export] sending clap to ai-tube-clap-exporter.hf.space")
|
24 |
|
25 |
const result = await fetch(
|
26 |
+
// `http://localhost:7860?f=${format}`,
|
27 |
+
`https://jbilcke-hf-ai-tube-clap-exporter.hf.space?f=${format}`,
|
28 |
{ method: "POST", body: await req.blob() }
|
29 |
)
|
30 |
|