File size: 2,554 Bytes
a3f46dd
 
 
 
 
 
 
 
 
 
 
 
 
 
bcd04b6
a3f46dd
6be59e4
a3f46dd
 
 
 
 
 
6be59e4
a3f46dd
64e0057
 
 
 
6be59e4
 
ad37b51
a3f46dd
ce17b19
 
 
 
 
 
a3f46dd
 
 
feb3aff
cbfa886
a3f46dd
44f8391
 
 
 
 
cbfa886
44f8391
 
cbfa886
a93d21a
feb3aff
 
a3f46dd
ec78ec9
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
license: creativeml-openrail-m
tags:
- pytorch
- diffusers
- stable-diffusion
- text-to-image
- diffusion-models-class
- dreambooth-hackathon
- wildcard
widget:
- text: a photo of hasbulla person
---

# DreamBooth model for the hasbulla concept trained by carlosabadia on the carlosabadia/hasbulla dataset. DreamBooth Hackaton's Winner! 🏆

This is a Stable Diffusion model fine-tuned on the hasbulla concept with DreamBooth. It can be used by modifying the `instance_prompt`: **hasbulla person**

This model was created as part of the DreamBooth Hackathon 🔥. Visit the [organisation page](https://huggingface.co/dreambooth-hackathon) for instructions on how to take part!

## Description


This is a Stable Diffusion model fine-tuned on `Hasbulla` images for the wildcard theme.

It was also featured in Hasbulla's Twitter account! 

<blockquote class="twitter-tweet"><p lang="sv" dir="ltr">Hasbulla Van Gogh <a href="https://t.co/5f0uPKhi6U">pic.twitter.com/5f0uPKhi6U</a></p>&mdash; Hasbulla 🐐 (@HasbullaHive) <a href="https://twitter.com/HasbullaHive/status/1610729157268234240?ref_src=twsrc%5Etfw">January 4, 2023</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

## Images generated by model

<img src=https://i.imgur.com/Sqfr7ae.jpg width=70% height=70%>

# Gradio & Colab

Model supported in a [Gradio](https://github.com/gradio-app/gradio) Web UI and Colab:
[![Open In Spaces](https://camo.githubusercontent.com/00380c35e60d6b04be65d3d94a58332be5cc93779f630bcdfc18ab9a3a7d3388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25463025394625413425393725323048756767696e67253230466163652d5370616365732d626c7565)](https://huggingface.co/spaces/carlosabadia/hasbulla)
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1ZB1_Z89BnjW_P76OLoQdcqVgPZfN8HEG?usp=sharing)

## Usage

```python
import torch
from diffusers import StableDiffusionPipeline, DPMSolverMultistepScheduler

pipe = StableDiffusionPipeline.from_pretrained(
    "carlosabadia/hasbulla", 
    scheduler = DPMSolverMultistepScheduler.from_pretrained("carlosabadia/hasbulla", subfolder="scheduler"),
    torch_dtype=torch.float16,
).to("cuda")

guidance_scale = 7
prompt = "A portrait of hasbulla person"

images = pipe(prompt, num_images_per_prompt=1, num_inference_steps=25, guidance_scale=guidance_scale).images
image = images[0]
image.save("hasbulla.png")
```

![visitors](https://visitor-badge.glitch.me/badge?page_id=carlosabadia/hasbulla)