mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-30 00:00:26 +08:00
fix grammar
This commit is contained in:
parent
338c88d3de
commit
7f72c07e06
@ -710,7 +710,7 @@ class MeshyTextureNode(IO.ComfyNode):
|
|||||||
if text_style_prompt and image_style is not None:
|
if text_style_prompt and image_style is not None:
|
||||||
raise ValueError("text_style_prompt and image_style cannot be used at the same time")
|
raise ValueError("text_style_prompt and image_style cannot be used at the same time")
|
||||||
if not text_style_prompt and image_style is None:
|
if not text_style_prompt and image_style is None:
|
||||||
raise ValueError("One of the text_style_prompt or image_style is required")
|
raise ValueError("Either text_style_prompt or image_style is required")
|
||||||
image_style_url = None
|
image_style_url = None
|
||||||
if image_style is not None:
|
if image_style is not None:
|
||||||
image_style_url = (await upload_images_to_comfyapi(cls, image_style, wait_label="Uploading style"))[0]
|
image_style_url = (await upload_images_to_comfyapi(cls, image_style, wait_label="Uploading style"))[0]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user