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

Syntax error in example #35

Open
pramodtech opened this issue Jan 4, 2025 · 0 comments
Open

Syntax error in example #35

pramodtech opened this issue Jan 4, 2025 · 0 comments

Comments

@pramodtech
Copy link

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 }
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