Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 9f8dc04

Browse files
committed
fix /download-model paths
1 parent 4c5f64f commit 9f8dc04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/python/ai-podcast-part-1.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ async def submit_auto(ctx: HttpContext):
390390
model_downloaded = await models.exists(f"{model_id}.zip")
391391
if not model_downloaded:
392392
ctx.res.status = 404
393-
ctx.res.body = f'model \'{model_id}\' hasn\'t been downloaded yet, call POST: /download-audio-model to pre-download the model'
393+
ctx.res.body = f'model \'{model_id}\' hasn\'t been downloaded yet, call POST: /download-model to pre-download the model'
394394
return
395395

396396
if isinstance(preset, list):
@@ -522,7 +522,7 @@ nitric start
522522
First we'll make sure that our new model download code is working by running:
523523

524524
```bash
525-
curl -X POST http://localhost:4001/download-audio-model
525+
curl -X POST http://localhost:4001/download-model
526526
```
527527

528528
Then we can test the audio generation again with:

0 commit comments

Comments
 (0)