crumb
commited on
Commit
•
e83feb6
1
Parent(s):
8222a98
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
tags:
|
5 |
+
- stable-diffusion
|
6 |
+
- text-to-image
|
7 |
+
inference: false
|
8 |
+
|
9 |
+
---
|
10 |
+
|
11 |
+
```python
|
12 |
+
torch.jit.load("unet.pt")
|
13 |
+
noise_pred = unet(latent_model_input, torch.tensor(t, dtype=torch.float32), text_embeddings) # no ['sample']
|
14 |
+
```
|