-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
bugSomething isn't workingSomething isn't working
Description
System Info
TransformersPHP 0.6.1
PHP Version
8.2.25
Environment/Platform
- Command-line application
- Web application
- Serverless
- Other (please specify)
Description
The documentation for the image-to-text task states the following about the texts input parameter:
The image(s) to extract text from. It can be a local file path, a file resource, a URL to an image (local or remote), or an array of these inputs. It's the first argument so there's no need to pass it as a named argument.
But the parameter type is string|array, so a file resource is not accepted.
Besides that, as #95 describes, a remote URL isn't currently supported by the VIPS driver
Reproduction
- Create an
image-to-textpipeline; - Pass a file resource as the first parameter
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working