Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gemini_API_Zho : argument of type 'Part' is not iterable #1

Open
solomon-s2020 opened this issue Dec 21, 2023 · 0 comments
Open

Gemini_API_Zho : argument of type 'Part' is not iterable #1

solomon-s2020 opened this issue Dec 21, 2023 · 0 comments

Comments

@solomon-s2020
Copy link

Error occurred when executing Gemini_API_Zho:

argument of type 'Part' is not iterable

File "D:\Stable-Diffusion\StabilityMatrix\Data\Packages\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\Stable-Diffusion\StabilityMatrix\Data\Packages\ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\Stable-Diffusion\StabilityMatrix\Data\Packages\ComfyUI\execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\Stable-Diffusion\StabilityMatrix\Data\Packages\ComfyUI\custom_nodes\ComfyUI-Gemini\GeminiAPINode.py", line 77, in generate_content
textoutput = response.text
File "D:\Stable-Diffusion\StabilityMatrix\Data\Packages\ComfyUI\venv\lib\site-packages\google\generativeai\types\generation_types.py", line 327, in text
if len(parts) != 1 or "text" not in parts[0]:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant