https://github.com/lucataco/cog-nsfw_image_detection
Cog wrapper for FalconsAi / nsfw_image_detection
https://github.com/lucataco/cog-nsfw_image_detection
cog
Last synced: 12 months ago
JSON representation
Cog wrapper for FalconsAi / nsfw_image_detection
- Host: GitHub
- URL: https://github.com/lucataco/cog-nsfw_image_detection
- Owner: lucataco
- Created: 2023-11-21T14:57:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-21T14:59:46.000Z (over 2 years ago)
- Last Synced: 2025-04-03T02:23:03.969Z (over 1 year ago)
- Topics: cog
- Language: Python
- Homepage: https://replicate.com/lucataco/nsfw_image_detection
- Size: 91.8 KB
- Stars: 16
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Falconsai/nsfw_image_detection Cog model
This is an implementation of [VFalconsai/nsfw_image_detection](https://huggingface.co/Falconsai/nsfw_image_detection) as a [Cog](https://github.com/replicate/cog) model.
## Development
Follow the [model pushing guide](https://replicate.com/docs/guides/push-a-model) to push your own model to [Replicate](https://replicate.com).
## Basic Usage
Run a prediction
cog predict -i image=@falcon.jpg
# Output
The model will either return the string "normal" or "nsfw"