replicate / replicate-swift

Swift client for Replicate
https://replicate.com
Apache License 2.0
165 stars 35 forks source link

Fix `Client.createTraining` method #62

Closed mattt closed 12 months ago

mattt commented 12 months ago

This PR updates the Client.createTraining method to take a required model argument (model ID in the form {owner}/{model}, and routes the request to the correct URL for the trainings.create endpoint.