Skip to content

Commit

Permalink
Final updates
Browse files Browse the repository at this point in the history
  • Loading branch information
milo157 committed Nov 9, 2023
1 parent 9027119 commit 88f4b7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cerebrium/environments/initial-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ project_name/
Cortex supports the use of config YAML files to configure various aspects of your project such as hardware requirements, memory and much more.
Using config files makes it easier to keep track of your Cerebrium deployments, share them and use git versioning to show changes over time.
To deploy your model with a config file, you can use the `cortex deploy` command with the `--config-file` flag to specify the path to your config file.
To deploy your model with a specific config file, you can use the `cerebrium deploy` command with the `--config-file` flag to specify the path to your config file. Otherwise `cerebrium deploy` will use the only yaml in the file directory.
```bash
cerebrium deploy --config-file your_config_file.yaml
cerebrium deploy
```
Your config file can be named anything you want and can be placed anywhere on your local machine. However, remember to use the `cerebrium deploy` command in the same directory as your main.py as you would normally.
Expand Down
2 changes: 1 addition & 1 deletion cerebrium/prebuilt-models/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ you would like to read through the source code, you can navigate to the [Cerebri
Each model's folder is a cortex deployment that can be deployed using the `cerebrium deploy` command. Simply navigate to the folder of the model you would like to deploy and run the command.

```bash
cerebrium deploy <<your-name-for-your-model>> --config-file config.yaml
cerebrium deploy <<your-name-for-your-model>>
```
Check out the available models through your Cerebrium dashboard or by reading our docs in the **Prebuilt Models** tab!

0 comments on commit 88f4b7d

Please sign in to comment.