Skip to content

Commit

Permalink
widget
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin committed Feb 4, 2025
1 parent e8ed5f7 commit e52fb6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/huggingface_hub/inference/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2424,8 +2424,8 @@ def text_to_image(
One prompt to guide what NOT to include in image generation.
height (`int`, *optional*):
The height in pixels of the output image
width (`float`, *optional*):
The width in pixels of the image to generate.
width (`int`, *optional*):
The width in pixels of the output image
num_inference_steps (`int`, *optional*):
The number of denoising steps. More denoising steps usually lead to a higher quality image at the
expense of slower inference.
Expand Down
4 changes: 2 additions & 2 deletions src/huggingface_hub/inference/_generated/_async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2480,8 +2480,8 @@ async def text_to_image(
One prompt to guide what NOT to include in image generation.
height (`int`, *optional*):
The height in pixels of the output image
width (`float`, *optional*):
The width in pixels of the image to generate.
width (`int`, *optional*):
The width in pixels of the output image
num_inference_steps (`int`, *optional*):
The number of denoising steps. More denoising steps usually lead to a higher quality image at the
expense of slower inference.
Expand Down

0 comments on commit e52fb6b

Please sign in to comment.