Skip to content

Commit

Permalink
Fix the width of the code example on index
Browse files Browse the repository at this point in the history
  • Loading branch information
rlouf committed Dec 7, 2023
1 parent 2095808 commit c0512dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Character(BaseModel):
strength: int


model = models.transformers("mistralai/Mistral-7B-v0.1", device="cuda")
model = models.transformers("mistralai/Mistral-7B-v0.1")
generator = generate.json(model, Character, max_tokens=100)
sequence = generator("Give me a character description")
```
Expand Down
2 changes: 1 addition & 1 deletion docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

.index-pre-code {
margin: 50px;
width: 700px;
max-width: 700px;
left: 50%;
}

Expand Down

0 comments on commit c0512dc

Please sign in to comment.