You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Block fails to produce an output for the images, as well as the caption.
Expected behavior:
Received a list of images using the multi-file upload block, and output the images, with the view images block, as well as provided captions with the view text block.
Actual behavior:
Runs into an error and Status updates to fail
Steps to reproduce:
Drag and drop relevant Image text block on canvas
Connect a multi-file upload block for image selection, and select images.
Drag and drop a view images block, and connect to the output of the Image Text block
Drag and drop a view text block, and connect to the output of image text block
Zetaforge version:
0.3.2
Operating System
MacOs
Other operating system:
No response
Logs:
[2024/11/06 13:11:23]
[notice] A new release of pip is available: 24.2 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
[2024/11/06 13:11:32] ---> Removed intermediate container 9bf734d96215
[2024/11/06 13:11:32] ---> 42a7ef1cb1eb
[2024/11/06 13:11:32] Successfully built 42a7ef1cb1eb
[2024/11/06 13:11:32] Successfully tagged zetaforge/org/image-to-text:14c272fd43987631dba6853f42a821455e14e56c295e6aa1bd1062bf1754395f
[2024/11/06 13:11:34] Status Updated: Running
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] debug||| {'image_path': None}
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] Traceback (most recent call last):
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] File "/app/entrypoint.py", line 87, in<module>
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] main()
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] File "/app/entrypoint.py", line 42, in main
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] params.append(ast.literal_eval(value))
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] ^^^^^^^^^^^^^^^^^^^^^^^
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] File "/usr/local/lib/python3.12/ast.py", line 112, in literal_eval
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] return _convert(node_or_string)
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] ^^^^^^^^^^^^^^^^^^^^^^^^
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] File "/usr/local/lib/python3.12/ast.py", line 111, in _convert
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] return _convert_signed_num(node)
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] ^^^^^^^^^^^^^^^^^^^^^^^^^
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] File "/usr/local/lib/python3.12/ast.py", line 85, in _convert_signed_num
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] return _convert_num(node)
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] ^^^^^^^^^^^^^^^^^^
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] File "/usr/local/lib/python3.12/ast.py", line 76, in _convert_num
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] _raise_malformed_node(node)
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] File "/usr/local/lib/python3.12/ast.py", line 73, in _raise_malformed_node
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] raise ValueError(msg + f': {node!r}')
[2024/11/06 13:11:37][dm4s2-image-to-text-0wxv6cak64fo] ValueError: malformed node or string: None
[2024/11/06 13:11:38][dm4s2-image-to-text-0wxv6cak64fo] Error: exit status 1
[2024/11/06 13:11:41] Status Updated: Failed
[2024/11/06 13:11:41] Status: Completed
[2024/11/06 13:11:41] error during pipeline run execution; err=pipeline-86lif5pplv3v-dm4s2-3400918981: Error (exit code 1)
Recording:
Anything else?:
No response
The text was updated successfully, but these errors were encountered:
Summary:
The Block fails to produce an output for the images, as well as the caption.
Expected behavior:
Received a list of images using the multi-file upload block, and output the images, with the view images block, as well as provided captions with the view text block.
Actual behavior:
Runs into an error and Status updates to fail
Steps to reproduce:
Zetaforge version:
0.3.2
Operating System
MacOs
Other operating system:
No response
Logs:
Recording:
Anything else?:
No response
The text was updated successfully, but these errors were encountered: