Skip to content

Commit

Permalink
Numbering the steps of the usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
Giom-V committed Jun 27, 2024
1 parent 34158a5 commit 7cee805
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ via **File > New > Import Sample** and searching for *Generative AI Sample* or f

## Usage example

Add the dependency `implementation("com.google.ai.client.generativeai:generativeai:<version>"`) to your Android project.
1. Add the dependency `implementation("com.google.ai.client.generativeai:generativeai:<version>"`) to your Android project.

Initialize the model
2. Initialize the model

```kotlin
val generativeModel = GenerativeModel(
Expand All @@ -40,7 +40,7 @@ val generativeModel = GenerativeModel(
)
```

Run a prompt.
3. Run a prompt.

```kotlin
val cookieImage: Bitmap = // ...
Expand Down

0 comments on commit 7cee805

Please sign in to comment.