Skip to content

Commit 805bf33

Browse files
authored
Docs fix spelling issues (#9219)
* fix PHILOSOPHY.md * fix CONTRIBUTING.md * fix tutorial_overview.md * fix stable_diffusion.md * Update tutorial_overview.md
1 parent 0ec64fe commit 805bf33

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Any question or comment related to the Diffusers library can be asked on the [di
5757
- ...
5858

5959
Every question that is asked on the forum or on Discord actively encourages the community to publicly
60-
share knowledge and might very well help a beginner in the future that has the same question you're
60+
share knowledge and might very well help a beginner in the future who has the same question you're
6161
having. Please do pose any questions you might have.
6262
In the same spirit, you are of immense help to the community by answering such questions because this way you are publicly documenting knowledge for everybody to learn from.
6363

@@ -503,4 +503,4 @@ $ git push --set-upstream origin your-branch-for-syncing
503503

504504
### Style guide
505505

506-
For documentation strings, 🧨 Diffusers follows the [Google style](https://google.github.io/styleguide/pyguide.html).
506+
For documentation strings, 🧨 Diffusers follows the [Google style](https://google.github.io/styleguide/pyguide.html).

PHILOSOPHY.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ specific language governing permissions and limitations under the License.
1515
🧨 Diffusers provides **state-of-the-art** pretrained diffusion models across multiple modalities.
1616
Its purpose is to serve as a **modular toolbox** for both inference and training.
1717

18-
We aim at building a library that stands the test of time and therefore take API design very seriously.
18+
We aim to build a library that stands the test of time and therefore take API design very seriously.
1919

2020
In a nutshell, Diffusers is built to be a natural extension of PyTorch. Therefore, most of our design choices are based on [PyTorch's Design Principles](https://pytorch.org/docs/stable/community/design.html#pytorch-design-philosophy). Let's go over the most important ones:
2121

@@ -107,4 +107,4 @@ The following design principles are followed:
107107
- Every scheduler exposes the timesteps to be "looped over" via a `timesteps` attribute, which is an array of timesteps the model will be called upon.
108108
- The `step(...)` function takes a predicted model output and the "current" sample (x_t) and returns the "previous", slightly more denoised sample (x_t-1).
109109
- Given the complexity of diffusion schedulers, the `step` function does not expose all the complexity and can be a bit of a "black box".
110-
- In almost all cases, novel schedulers shall be implemented in a new scheduling file.
110+
- In almost all cases, novel schedulers shall be implemented in a new scheduling file.

docs/source/en/stable_diffusion.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Pretty impressive! Let's tweak the second image - corresponding to the `Generato
238238
```python
239239
prompts = [
240240
"portrait photo of the oldest warrior chief, tribal panther make up, blue on red, side profile, looking away, serious eyes 50mm portrait photography, hard rim lighting photography--beta --ar 2:3 --beta --upbeta",
241-
"portrait photo of a old warrior chief, tribal panther make up, blue on red, side profile, looking away, serious eyes 50mm portrait photography, hard rim lighting photography--beta --ar 2:3 --beta --upbeta",
241+
"portrait photo of an old warrior chief, tribal panther make up, blue on red, side profile, looking away, serious eyes 50mm portrait photography, hard rim lighting photography--beta --ar 2:3 --beta --upbeta",
242242
"portrait photo of a warrior chief, tribal panther make up, blue on red, side profile, looking away, serious eyes 50mm portrait photography, hard rim lighting photography--beta --ar 2:3 --beta --upbeta",
243243
"portrait photo of a young warrior chief, tribal panther make up, blue on red, side profile, looking away, serious eyes 50mm portrait photography, hard rim lighting photography--beta --ar 2:3 --beta --upbeta",
244244
]

0 commit comments

Comments
 (0)