Commit
·
6f3a672
1
Parent(s):
9ff0e10
update readme
Browse files- README.md +25 -2
- assets/diffusion_decoder_image_output.mp4 +0 -0
- assets/diffusion_decoder_video_output.mp4 +0 -0
- assets/image_output.mp4 +0 -0
- assets/video_output.mp4 +0 -0
README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
## How to Use
|
| 2 |
|
| 3 |
-
|
|
|
|
| 4 |
from transformers import AutoModel
|
| 5 |
|
| 6 |
model = AutoModel.from_pretrained(
|
|
@@ -31,7 +32,29 @@ model = AutoModel.from_pretrained(
|
|
| 31 |
)
|
| 32 |
|
| 33 |
model()
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
|
| 36 |
|
| 37 |

|
|
|
|
| 1 |
## How to Use
|
| 2 |
|
| 3 |
+
```python
|
| 4 |
+
|
| 5 |
from transformers import AutoModel
|
| 6 |
|
| 7 |
model = AutoModel.from_pretrained(
|
|
|
|
| 32 |
)
|
| 33 |
|
| 34 |
model()
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
## Example outputs
|
| 38 |
+
|
| 39 |
+
### Text + Image
|
| 40 |
+
<video src="assets/image_output.mp4">
|
| 41 |
+
Your browser does not support the video tag.
|
| 42 |
+
</video>
|
| 43 |
+
|
| 44 |
+
### Text + Video
|
| 45 |
+
<video src="assets/video_output.mp4">
|
| 46 |
+
Your browser does not support the video tag.
|
| 47 |
+
</video>
|
| 48 |
+
|
| 49 |
+
### Text + Image + Diffusion Decoder
|
| 50 |
+
<video src="assets/diffusion_decoder_image_output.mp4">
|
| 51 |
+
Your browser does not support the video tag.
|
| 52 |
+
</video>
|
| 53 |
+
|
| 54 |
+
### Text + Video + Diffusion Decoder
|
| 55 |
+
<video src="assets/diffusion_decoder_video_output.mp4">
|
| 56 |
+
Your browser does not support the video tag.
|
| 57 |
+
</video>
|
| 58 |
|
| 59 |
|
| 60 |

|
assets/diffusion_decoder_image_output.mp4
ADDED
|
Binary file (371 kB). View file
|
|
|
assets/diffusion_decoder_video_output.mp4
ADDED
|
Binary file (200 kB). View file
|
|
|
assets/image_output.mp4
ADDED
|
Binary file (234 kB). View file
|
|
|
assets/video_output.mp4
ADDED
|
Binary file (109 kB). View file
|
|
|