VikramSingh178 commited on
Commit
6f7fce9
1 Parent(s): 6e67c16

Former-commit-id: b592fd79b79995768b392daef00318f2b980fe37

__pycache__/config_settings.cpython-310.pyc DELETED
Binary file (598 Bytes)
 
api/yolov8l.pt.REMOVED.git-id DELETED
@@ -1 +0,0 @@
1
- 85f4cb9e9454a5944aebcc4ac73fd5571f3ddcd3
 
 
picpilot.egg-info/PKG-INFO CHANGED
@@ -1,4 +1,11 @@
1
  Metadata-Version: 2.1
2
  Name: picpilot
3
  Version: 0.1
 
 
 
 
4
  License-File: LICENSE
 
 
 
 
1
  Metadata-Version: 2.1
2
  Name: picpilot
3
  Version: 0.1
4
+ Summary: UNKNOWN
5
+ Home-page: UNKNOWN
6
+ License: UNKNOWN
7
+ Platform: UNKNOWN
8
  License-File: LICENSE
9
+
10
+ UNKNOWN
11
+
picpilot.egg-info/SOURCES.txt CHANGED
@@ -14,7 +14,6 @@ scripts/__init__.py
14
  scripts/api_utils.py
15
  scripts/config.py
16
  scripts/inpainting_pipeline.py
17
- scripts/kandinsky3_inpainting.py
18
  scripts/load_pipeline.py
19
  scripts/products10k_captions.py
20
  scripts/s3_manager.py
 
14
  scripts/api_utils.py
15
  scripts/config.py
16
  scripts/inpainting_pipeline.py
 
17
  scripts/load_pipeline.py
18
  scripts/products10k_captions.py
19
  scripts/s3_manager.py
scripts/__pycache__/__init__.cpython-310.pyc DELETED
Binary file (127 Bytes)
 
scripts/__pycache__/api_utils.cpython-310.pyc DELETED
Binary file (5.71 kB)
 
scripts/__pycache__/config.cpython-310.pyc DELETED
Binary file (2.72 kB)
 
scripts/__pycache__/inpainting_pipeline.cpython-310.pyc DELETED
Binary file (2.64 kB)
 
scripts/__pycache__/s3_manager.cpython-310.pyc DELETED
Binary file (2.4 kB)
 
scripts/__pycache__/video_pipeline.cpython-310.pyc DELETED
Binary file (731 Bytes)
 
scripts/kandinsky3_inpainting.py DELETED
@@ -1,29 +0,0 @@
1
- import torch
2
- from Kandinsky.kandinsky3 import get_inpainting_pipeline
3
- from scripts.api_utils import ImageAugmentation,accelerator
4
- from diffusers.utils import load_image
5
- import numpy as np
6
- from PIL import Image
7
-
8
- device_map = torch.device(accelerator())
9
- dtype_map = {
10
- 'unet': torch.float16,
11
- 'text_encoder': torch.float16,
12
- 'movq': torch.float32,
13
- }
14
-
15
-
16
- pipe = get_inpainting_pipeline(
17
- device_map, dtype_map,
18
- )
19
-
20
- image = Image.open('/home/PicPilot/sample_data/image.png')
21
- mask_image = Image.open('/home/PicPilot/sample_data/mask_image.png')
22
- image = load_image(image=image)
23
- mask_image = np.array(mask_image)
24
-
25
-
26
-
27
-
28
- image = pipe( "Product on the Kitchen used for cooking", image, mask_image)
29
- image.save('output.jpg')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ui/requirements.txt DELETED
File without changes