asigalov61 commited on
Commit
1c11766
·
verified ·
1 Parent(s): d899845

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -1
README.md CHANGED
@@ -20,7 +20,7 @@ tags:
20
 
21
  ***
22
 
23
- # Installation
24
 
25
  ```python
26
  from huggingface_hub import snapshot_download
@@ -33,5 +33,17 @@ local_dir = "./Imagen-South-Park"
33
  snapshot_download(repo_id, repo_type=repo_type, local_dir=local_dir)
34
  ```
35
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  ### Project Los Angeles
37
  ### Tegridy Code 2024
 
20
 
21
  ***
22
 
23
+ ## Installation
24
 
25
  ```python
26
  from huggingface_hub import snapshot_download
 
33
  snapshot_download(repo_id, repo_type=repo_type, local_dir=local_dir)
34
  ```
35
 
36
+ ## Inference
37
+
38
+ ```sh
39
+ !pip install -U imagen-pytorch
40
+ ```
41
+
42
+ ```
43
+ import torch
44
+ from imagen_pytorch import Unet, Imagen, ImagenTrainer
45
+ from imagen_pytorch.data import Dataset
46
+ ```
47
+
48
  ### Project Los Angeles
49
  ### Tegridy Code 2024