Update README.md
Browse files
README.md
CHANGED
|
@@ -77,7 +77,7 @@ from diffusers import OvisImagePipeline
|
|
| 77 |
pipe = OvisImagePipeline.from_pretrained("AIDC-AI/Ovis-Image-7B", torch_dtype=torch.bfloat16)
|
| 78 |
pipe.to("cuda")
|
| 79 |
prompt = "A creative 3D artistic render where the text \"OVIS-IMAGE\" is written in a bold, expressive handwritten brush style using thick, wet oil paint. The paint is a mix of vibrant rainbow colors (red, blue, yellow) swirling together like toothpaste or impasto art. You can see the ridges of the brush bristles and the glossy, wet texture of the paint. The background is a clean artist's canvas. Dynamic lighting creates soft shadows behind the floating paint strokes. Colorful, expressive, tactile texture, 4k detail."
|
| 80 |
-
image = pipe(prompt, negative_prompt="", num_inference_steps=50,
|
| 81 |
image.save("ovis_image.png")
|
| 82 |
```
|
| 83 |
|
|
|
|
| 77 |
pipe = OvisImagePipeline.from_pretrained("AIDC-AI/Ovis-Image-7B", torch_dtype=torch.bfloat16)
|
| 78 |
pipe.to("cuda")
|
| 79 |
prompt = "A creative 3D artistic render where the text \"OVIS-IMAGE\" is written in a bold, expressive handwritten brush style using thick, wet oil paint. The paint is a mix of vibrant rainbow colors (red, blue, yellow) swirling together like toothpaste or impasto art. You can see the ridges of the brush bristles and the glossy, wet texture of the paint. The background is a clean artist's canvas. Dynamic lighting creates soft shadows behind the floating paint strokes. Colorful, expressive, tactile texture, 4k detail."
|
| 80 |
+
image = pipe(prompt, negative_prompt="", num_inference_steps=50, guidance_scale=5.0).images[0]
|
| 81 |
image.save("ovis_image.png")
|
| 82 |
```
|
| 83 |
|