Skip to content

Commit

Permalink
Update initial-setup.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsie011 authored Nov 23, 2023
1 parent cbe4a7f commit 6323ab4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cerebrium/environments/initial-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ The parameters for your config file are the same as those which you would use as
| `python_version` | The Python version you would like to run | float | 3.9 |
| `min_replicas` | The minimum number of replicas to run. | int | 0 |
| `max_replicas` | The maximum number of replicas to scale to. | int | \*plan limit |
| `cooldown` | The number of seconds to keep your model warm after each request. It resets after every request | int | 60 |
| `predict_data` | A JSON object for you to test inference on your endpoint when a deployment is made | json | {} |
| `disable_predict` | Whether to disable testing your predict function with input [Optional] | boolean | false |
| `cooldown` | The number of seconds to keep your model warm after each request. It resets after every request.| int | 60 |
| `predict_data` | A JSON object for you to test inference on your endpoint when a deployment is made. | json | {} |
| `disable_predict` | Whether to disable testing your predict function with input. [Optional] | boolean | false |
## Config File Example
Expand All @@ -69,6 +69,6 @@ disable_animation: false
python_version: 3.9
min_replicas: 0
max_replicas: 30
predict_data: '{"prompt": "The quick brown fox jumps over the lazy dog"}'
predict_data: '{"prompt": "Here is some example predict data from your config.yaml which will be used to test your predict function on build."}'
disable_predict: false # You can set this to true if you'd like to override the predict-on-build functionality.
```

0 comments on commit 6323ab4

Please sign in to comment.