Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

deepsafe
/
deepsafe-services

Diffusers
Safetensors
deepfake-detection
model-zoo
mirror
Model card Files Files and versions
xet
Community

Instructions to use deepsafe/deepsafe-services with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use deepsafe/deepsafe-services with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("deepsafe/deepsafe-services", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
deepsafe-services / video /fake-stormer /model_code /package_utils
97.7 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits

This model has 1 file scanned as suspicious.

deepsafe's picture
deepsafe
sync from GitHub (0154d02)
4b0b144 verified 8 months ago
  • __init__.py
    24 Bytes
    sync from GitHub (0154d02) 8 months ago
  • _typing.py
    700 Bytes
    sync from GitHub (0154d02) 8 months ago
  • bi_online_generation.py
    18.8 kB
    sync from GitHub (0154d02) 8 months ago
  • cam_vis.py
    9 kB
    sync from GitHub (0154d02) 8 months ago
  • deepfake_mask.py
    9.64 kB
    sync from GitHub (0154d02) 8 months ago
  • geo_landmarks_extraction.py
    12.5 kB
    sync from GitHub (0154d02) 8 months ago
  • image_augmentation.py
    3.21 kB
    sync from GitHub (0154d02) 8 months ago
  • image_utils.py
    5.76 kB
    sync from GitHub (0154d02) 8 months ago
  • images_crop.py
    15.6 kB
    sync from GitHub (0154d02) 8 months ago
  • metrics_based_preds.py
    4.43 kB
    sync from GitHub (0154d02) 8 months ago
  • misc.py
    2.24 kB
    sync from GitHub (0154d02) 8 months ago
  • tensors.py
    3.11 kB
    sync from GitHub (0154d02) 8 months ago
  • transform.py
    4.7 kB
    sync from GitHub (0154d02) 8 months ago
  • utils.py
    7.92 kB
    sync from GitHub (0154d02) 8 months ago