Skip to content

Instantly share code, notes, and snippets.

@lando22
Created May 26, 2022 21:31
Show Gist options
  • Save lando22/086d44e8a62a26f88d422c1a4514ed8f to your computer and use it in GitHub Desktop.
Save lando22/086d44e8a62a26f88d422c1a4514ed8f to your computer and use it in GitHub Desktop.
import humingbird
prediction = humingbird.Image.predict(
image_path='ice-cream.jpg',
labels=["strawberry ice cream", "vanilla ice cream", "chocolate ice cream"] # add more if you'd like :)
)
print(prediction)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment