Skip to content

Add example of how to pass a file input to a model#63

Merged
mattt merged 1 commit intomainfrom
mattt/document-file-inputs
Apr 26, 2023
Merged

Add example of how to pass a file input to a model#63
mattt merged 1 commit intomainfrom
mattt/document-file-inputs

Conversation

@mattt
Copy link
Copy Markdown
Contributor

@mattt mattt commented Apr 26, 2023

Resolves #53

This PR adds a simple example of how to pass an image input to replicate.run.

In the future, we may add an affordance in the library to allow a buffer, readable stream, or a more convenient abstraction to be passed directly.

@mattt mattt mentioned this pull request Apr 26, 2023
@mattt mattt merged commit 83a5025 into main Apr 26, 2023
@mattt mattt deleted the mattt/document-file-inputs branch April 26, 2023 21:04
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

Successfully merging this pull request may close these issues.

Format of Uploaded Files

1 participant