Instructions to use Nihirc/Prompt2MedImage with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Nihirc/Prompt2MedImage with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Nihirc/Prompt2MedImage", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Nihir Chadderwala commited on
Commit ·
f8972c5
1
Parent(s): 6b672af
Updated README file
Browse files
README.md
CHANGED
|
@@ -14,7 +14,7 @@ This model was trained using Amazon SageMaker and the Hugging Face Deep Learning
|
|
| 14 |
- **Developed by:** Nihir Chadderwala
|
| 15 |
- **Model type:** Diffusion based text to medical image generation model
|
| 16 |
- **Language:** English
|
| 17 |
-
- **License:**
|
| 18 |
- **Model Description:** This latent text to image diffusion model can be used to generate high quality medical images based on text prompts. It uses a fixed, pretrained text encoder ([CLIP ViT-L/14](https://arxiv.org/abs/2103.00020)) as suggested in the [Imagen paper](https://arxiv.org/abs/2205.11487).
|
| 19 |
|
| 20 |
|
|
|
|
| 14 |
- **Developed by:** Nihir Chadderwala
|
| 15 |
- **Model type:** Diffusion based text to medical image generation model
|
| 16 |
- **Language:** English
|
| 17 |
+
- **License:** wtfpl
|
| 18 |
- **Model Description:** This latent text to image diffusion model can be used to generate high quality medical images based on text prompts. It uses a fixed, pretrained text encoder ([CLIP ViT-L/14](https://arxiv.org/abs/2103.00020)) as suggested in the [Imagen paper](https://arxiv.org/abs/2205.11487).
|
| 19 |
|
| 20 |
|