massimo ceraolo
commited on
Commit
•
14987d0
1
Parent(s):
f199c3e
more detail in prompt
Browse files- inference.py +2 -2
inference.py
CHANGED
@@ -315,7 +315,7 @@ def main(prompt, control_image, index, metadata_df):
|
|
315 |
# Step 0: Generate a detailed prompt for the diffusion model
|
316 |
prompt = generate_prompt_for_flux(prompt)
|
317 |
|
318 |
-
prompt += ", realistic, high quality, 8K"
|
319 |
|
320 |
logging.info(f"\nGenerated prompt: {prompt}")
|
321 |
|
@@ -326,7 +326,7 @@ def main(prompt, control_image, index, metadata_df):
|
|
326 |
control_image=control_image,
|
327 |
guidance_scale=2.5,
|
328 |
output_quality=100,
|
329 |
-
negative_prompt="low quality, ugly, distorted, artefacts",
|
330 |
control_strength=0.5,
|
331 |
image_to_image_strength=0.1,
|
332 |
control_type="canny"
|
|
|
315 |
# Step 0: Generate a detailed prompt for the diffusion model
|
316 |
prompt = generate_prompt_for_flux(prompt)
|
317 |
|
318 |
+
prompt += ", realistic, high quality, 8K, photorealistic, high detail, sharp focus"
|
319 |
|
320 |
logging.info(f"\nGenerated prompt: {prompt}")
|
321 |
|
|
|
326 |
control_image=control_image,
|
327 |
guidance_scale=2.5,
|
328 |
output_quality=100,
|
329 |
+
negative_prompt="low quality, ugly, distorted, artefacts, low detail, low quality, low resolution, low definition, imaginary, unrealistic, fictional",
|
330 |
control_strength=0.5,
|
331 |
image_to_image_strength=0.1,
|
332 |
control_type="canny"
|