Spaces:
Runtime error
Runtime error
Vikramjeet Singh
commited on
Commit
β’
43a6be6
1
Parent(s):
9e512c4
Update README.md
Browse filesFormer-commit-id: 4860fa2767c2ab35070942ef8868015cac65a23b
README.md
CHANGED
@@ -13,12 +13,19 @@ huggingface-cli login
|
|
13 |
cd scripts
|
14 |
```
|
15 |
|
16 |
-
This will install all necessary libraries for this project, including PIL,
|
17 |
|
18 |
-
### cd in to scripts
|
19 |
-
specify/create the folders manually before this
|
20 |
```bash
|
21 |
python run.py --image_path /path/to/image.jpg --prompt 'prompt' --negative_prompt 'negative prompt' --output_dir /path/to/output --mask_dir /path/to/mask --uid unique_id
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
|
24 |
```
|
@@ -26,9 +33,16 @@ python run.py --image_path /path/to/image.jpg --prompt 'prompt' --negative_promp
|
|
26 |
Here are some of my experiments with the following models
|
27 |
- https://huggingface.co/runwayml/stable-diffusion-inpainting
|
28 |
- https://huggingface.co/lllyasviel/sd-controlnet-seg
|
29 |
-
- kandinsky-community/kandinsky-2-2-decoder-inpaint
|
30 |
-
|
|
|
|
|
31 |
|
32 |
![cooker_output](https://github.com/VikramxD/product_diffusion_api/assets/72499426/1228718b-5ef7-44a1-81f6-2953ffdc767c)
|
33 |
![toaster_output](https://github.com/VikramxD/product_diffusion_api/assets/72499426/06e12aea-cdc2-4ab8-97e0-be77bc49a238)
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
13 |
cd scripts
|
14 |
```
|
15 |
|
16 |
+
This will install all necessary libraries for this project, including PIL , Diffusers , Segment Anything, wandb ,
|
17 |
|
|
|
|
|
18 |
```bash
|
19 |
python run.py --image_path /path/to/image.jpg --prompt 'prompt' --negative_prompt 'negative prompt' --output_dir /path/to/output --mask_dir /path/to/mask --uid unique_id
|
20 |
+
```
|
21 |
+
|
22 |
+
|
23 |
+
|
24 |
+
|
25 |
+
|
26 |
+
|
27 |
+
|
28 |
+
|
29 |
|
30 |
|
31 |
```
|
|
|
33 |
Here are some of my experiments with the following models
|
34 |
- https://huggingface.co/runwayml/stable-diffusion-inpainting
|
35 |
- https://huggingface.co/lllyasviel/sd-controlnet-seg
|
36 |
+
- https://huggingface.co/kandinsky-community/kandinsky-2-2-decoder-inpaint
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
|
41 |
![cooker_output](https://github.com/VikramxD/product_diffusion_api/assets/72499426/1228718b-5ef7-44a1-81f6-2953ffdc767c)
|
42 |
![toaster_output](https://github.com/VikramxD/product_diffusion_api/assets/72499426/06e12aea-cdc2-4ab8-97e0-be77bc49a238)
|
43 |
+
!![Generated Image Pipeline Call 1](https://github.com/VikramxD/product_diffusion_api/assets/72499426/2e7a804f-482c-4807-897e-1aa02b2fd37f)
|
44 |
+
![chair](https://github.com/VikramxD/product_diffusion_api/assets/72499426/65bcd04f-a715-43c3-8928-a9669f8eda85)
|
45 |
+
![Generated Image Pipeline Call 1](https://github.com/VikramxD/product_diffusion_api/assets/72499426/dd6af644-1c07-424a-8ba6-0715a5611094)
|
46 |
+
![Generated Image Pipeline Call (1)](https://github.com/VikramxD/product_diffusion_api/assets/72499426/b1b8c745-deb4-41ff-a93a-77fa06f55cc3)
|
47 |
+
|
48 |
+
|