View source: R/ifcb_classify_models.R
| ifcb_classify_models | R Documentation |
Queries the Gradio API to retrieve the names of all CNN models available
for IFCB image classification. These model names can be passed to the
model_name argument of ifcb_classify_images() and ifcb_classify_sample().
ifcb_classify_models(gradio_url = "https://irfcb-classify.hf.space")
gradio_url |
A character string specifying the base URL of the Gradio
application. Default is |
A character vector of available model names.
ifcb_classify_images(), ifcb_classify_sample()
## Not run:
# List available models
models <- ifcb_classify_models()
print(models)
# Use a specific model for classification
result <- ifcb_classify_images("image.png", model_name = models[1])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.