Skip to content

Commit ac7e754

Browse files
committed
Update docs - seed value
1 parent c7a831b commit ac7e754

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

docs/docs/02-hooks/02-computer-vision/useTextToImage.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ To run the model, you can use the `forward` method. It accepts four arguments: a
6363

6464
The image size must fall within the range from 128 to 512 unless specified differently, and be a multiple of 32 due to the architecture of the U-Net and VAE models.
6565

66+
The seed should be a positive integer.
67+
6668
:::warning
6769
Larger imageSize values require significantly more memory to run the model.
6870
:::

docs/docs/03-typescript-api/02-computer-vision/TextToImageModule.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ To run the model, you can use the `forward` method. It accepts four arguments: a
6868

6969
The image size must fall within the range from 128 to 512 unless specified differently, and be a multiple of 32 due to the architecture of the U-Net and VAE models.
7070

71+
The seed value should be a positive integer.
72+
7173
## Listening for inference steps
7274

7375
To monitor the progress of image generation, you can pass an `inferenceCallback` function to the constructor. The callback is invoked at each denoising step (for a total of `numSteps + 1` times), yielding the current step index that can be used, for example, to display a progress bar.

0 commit comments

Comments
 (0)