Spaces:
Sleeping
Sleeping
|
Download demo/README.md from SMSD75/SynthScope: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/spaces/SMSD75/SynthScope/resolve/main/demo/README.md
- Command line
-
hf download hf://spaces/SMSD75/SynthScope/demo/README.md
-
curl -L -o README.md https://huggingface.co/spaces/SMSD75/SynthScope/resolve/main/demo/README.md
1.62 kB
metadata
title: SynthScope AI-Generated Media Detection
emoji: π
colorFrom: indigo
colorTo: red
sdk: gradio
sdk_version: 4.44.1
app_file: app.py
pinned: false
license: apache-2.0
SynthScope demo (Gradio / Hugging Face Spaces)
Upload an image or video, pick a detector, and get the probability it is AI-generated. Built on
the synthscope Python API (synthscope.load(key).predict(file)).
Run locally
pip install -e ".[demo]" # from the SynthScope repo root
python demo/app.py # serves on http://localhost:7860
Deploy as a Hugging Face Space
- Create a new Gradio Space.
- Add these three files at the Space root:
app.py,requirements.txt, and thisREADME.md(the YAML header above configures the Space). - Set a Space variable
SYNTHSCOPE_HUB_REPO=<your-username>/synthscope-checkpointsso detectors auto-download their weights from your model zoo. For a private zoo, also add anHF_TOKENSpace secret. - Choose hardware: the large backbones (ConvNeXt-XXL, SigLIP, CLIP-L) want a GPU; CPU works but is slow.
Notes
- Detectors needing gated backbones (DINOv3 β
dinov3,stall) are hidden in this demo. - Official-weights detectors (
fat_former,aide,npr) only appear if their weights are in the configured zoo (they are license-restricted and not published by default β seeLICENSES.md). - A single score is a demo, not a verdict β see the repo's per-generator reproduction table for benchmarked accuracy.