Skip to content

Syntax error in example #35

@pramodtech

Description

@pramodtech

Describe the bug
Getting syntax error while using Vision example given in read me. I can successfully run first example.

 (irb):28: syntax error, unexpected '}', expecting => (SyntaxError)
..._type":"image/png", imgbase64 }
...                              ^
(irb):31: syntax error, unexpected ']', expecting end-of-input
        ]

Below fix is working

{"type":"base64","media_type":"image/png","data": imgbase64 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions