Skip to content

Commit

Permalink
fix: update wording to trigger openapi spec update
Browse files Browse the repository at this point in the history
  • Loading branch information
jonoirwinrsa committed Nov 27, 2024
1 parent a997ac5 commit cdb45c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions migrations/hugging-face.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,13 @@ This script does the following:

### 2. Deployment

To deploy your model to Cerebrium, use the following CLI command in your project directory:
To deploy your app to Cerebrium, use the following CLI command in your project directory:

```bash
cerebrium deploy
```

This command will use the configuration in `cerebrium.toml` to set up and deploy your model.
This command uses the configuration in `cerebrium.toml` to set up and deploy your model.

### 3. Using the Deployed Model

Expand All @@ -200,7 +200,7 @@ response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
```

Make sure to replace `[CEREBRIUM_API_KEY]` with your Cerebrium API key, which can be found in your dashboard under API keys. This code sends a POST request to your deployed model's endpoint with a prompt, and prints the model's response.
Make sure to replace `[CEREBRIUM_API_KEY]` with your Inference API key, which can be found in your dashboard under API keys. This code sends a POST request to your deployed model's endpoint with a prompt, and prints the model's response.

## Additional Considerations

Expand Down

0 comments on commit cdb45c1

Please sign in to comment.