Skip to content

Commit

Permalink
Hotfix llm prompt log (#82)
Browse files Browse the repository at this point in the history
* hotfix prompt log issue

* hotfix prompt log issue
  • Loading branch information
MaraScott committed Jun 21, 2024
1 parent 8aa0244 commit d36e093
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion py/nodes/UpscalerRefiner/McBoaty_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,9 @@ def upscale_refine(self, image, iteration):
prompt_context = llm.vision_llm.generate_prompt(image)

for index, grid_image in enumerate(grid_images):
log(f"tile {index + 1}/{total} - [tile prompt] {prompt_tile}", None, None, f"Prompting {iteration}")
log(f"tile {index + 1}/{total} - [tile prompt]", None, None, f"Prompting {iteration}")
prompt_tile = llm.generate_tile_prompt(grid_image, prompt_context, self.KSAMPLER.noise_seed)
log(f"tile {index + 1}/{total} - [tile prompt] {prompt_tile}", None, None, f"Prompting {iteration}")
grid_prompts.append(prompt_tile)

for index, upscaled_image_grid in enumerate(grid_images):
Expand Down
2 changes: 1 addition & 1 deletion py/utils/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
#
###

VERSION = "4.3.0"
VERSION = "4.3.1"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "comfyui_marascott_nodes"
description = "A set of nodes including a universal bus, an Inpainting By Mask and a large Upscaler/Refiner"
version = "4.3.0"
version = "4.3.1"
license = "LICENSE"
dependencies = ["blend_modes", "numba", "color-matcher", "groq"]

Expand Down

0 comments on commit d36e093

Please sign in to comment.