Spaces:
Running
on
Zero
Running
on
Zero
yrr
commited on
Commit
•
ca38e7c
1
Parent(s):
2ff7a7b
update inference code
Browse files
app.py
CHANGED
@@ -281,8 +281,8 @@ For example, use an image of a woman to generate a new image:
|
|
281 |
prompt = "A woman holds a bouquet of flowers and faces the camera. Thw woman is \<img\>\<|image_1|\>\</img\>."
|
282 |
|
283 |
Tips:
|
284 |
-
- For out of memory or time cost, you can refer to [
|
285 |
-
- If time cost is too long, please try to reduce the `max_input_image_size`.
|
286 |
- Oversaturated: If the image appears oversaturated, please reduce the `guidance_scale`.
|
287 |
- Not match the prompt: If the image does not match the prompt, please try to increase the `guidance_scale`.
|
288 |
- Low-quality: More detailed prompt will lead to better results.
|
|
|
281 |
prompt = "A woman holds a bouquet of flowers and faces the camera. Thw woman is \<img\>\<|image_1|\>\</img\>."
|
282 |
|
283 |
Tips:
|
284 |
+
- For out of memory or time cost, you can refer to [inference.md#requiremented-resources](https://github.com/VectorSpaceLab/OmniGen/blob/main/docs/inference.md#requiremented-resources) to select a appropriate setting.
|
285 |
+
- If time cost is too long, please try to reduce the `max_input_image_size`. More details please refer to [inference.md](https://github.com/VectorSpaceLab/OmniGen/blob/main/docs/inference.md#requiremented-resources)
|
286 |
- Oversaturated: If the image appears oversaturated, please reduce the `guidance_scale`.
|
287 |
- Not match the prompt: If the image does not match the prompt, please try to increase the `guidance_scale`.
|
288 |
- Low-quality: More detailed prompt will lead to better results.
|