HuggingfaceClient.Inference.Task.ImageToImage (huggingface_client v0.1.0)

Copy Markdown View Source

Image-to-image transformation (e.g. style transfer, super-resolution).

Summary

Functions

Runs the image-to-image task.

Functions

run(client, args)

@spec run(HuggingfaceClient.Client.t(), map()) ::
  {:ok, term()} | {:error, Exception.t()}

Runs the image-to-image task.

Returns {:ok, result} or {:error, exception}.