Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

ramy21
/
MRI_BRAIN_SCAN2

Text-to-Image
Diffusers
Trained with AutoTrain
Model card Files Files and versions
xet
Community

Instructions to use ramy21/MRI_BRAIN_SCAN2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ramy21/MRI_BRAIN_SCAN2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("ramy21/MRI_BRAIN_SCAN2", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "BTMS"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
MRI_BRAIN_SCAN2
4.42 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
ramy21's picture
ramy21
End of training
a7b572c over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    203 Bytes
    End of training over 2 years ago
  • prompt.txt
    4 Bytes
    End of training over 2 years ago
  • pytorch_lora_weights.safetensors
    4.42 MB
    xet
    End of training over 2 years ago